This is the code repository for React Native Cookbook - Second Edition, published by Packt.
Step-by-step recipes for solving common React Native development problems
If you are a developer looking to create mobile applications with maximized code reusability and minimized cost, then React Native is here to help. With this practical guide, you will be able to build attractive UIs, tackle common mobile development-related issues, and achieve improved performance in mobile environments.
This book covers the following exciting features: Build UI features and components using React Native Create advanced animations for UI components Develop universal apps that run on phones and tablets Leverage Redux to manage application flow and data Expose both custom native UI components and application logic to React Native Employ open-source third-party plugins to create React Native apps more efficiently
If you feel this book is for you, get your copy today!
All of the code is organized into folders, e.g. chapter-02
, chapter-03
, etc.
The code will look like the following:
export default class App extends React.Component {
state = {
liked: false,
};
handleButtonPress = () => {
// We'll define the content on step 6
}
If you're a JavaScript developer looking for a practical guide with step-by-step tutorials for developing feature rich mobile apps using React Native, then this book is for you. Though not required, some experience working with React will help you more easily understand the React Native concepts covered in this book.
While React Native development can be done on a Windows machine, certain aspects, such as running your apps on iOS devices and in the iOS simulator, or editing native code with Xcode, can only be done with a Mac.
Chapter | Software required | OS required |
---|---|---|
1-7, 10 | Expo -Current version (v29+) | Mac OS X |
1, 10-12 | Xcode - Current version (v10.0+) | Mac OS X |
1, 10-12 | Android Studio - Current version (3.0.1+) | Windows, Mac OS X, and Linux (Any) |
1-12 | Genymotion Emulator - Current version (2.12.0+) | Mac OS X |
1-7, 10-12 | Node.js - version 10.13.0 or newer | Mac OS X |
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.
Dan Ward Dan Ward is a full-stack developer and web technology consultant who has a number of years of experience working on mobile applications with React Native, and developing web applications with React, Vue, and Angular. He's also a co-founder at gitconnected, and co-editor at the associated Medium publication. His professional interests include React Native development, modern web development, and technical writing. He also has a BA in English Literature from Florida State University.
Click here if you have any feedback or suggestions.