React Native just may be the holy grail of cross-platform app development that many developers and companies have been hoping for. Using React Native, developers can build performant cross-platform native apps much easier than ever before, all with a single programming language: JavaScript. With the growing demand for apps and the increasing complexity that app development entails, React Native comes along at a perfect time. If you’re serious about app development or want to stay ahead of the curve on emerging and disruptive technologies, take a look at React Native.
React Native in Action gives iOS, Android, and web developers the knowledge and confidence to begin building high quality iOS and Android apps using the React Native framework. You’ll start by getting a clear understanding of what React Native is and how it works. Then you’ll follow step-by-step instructions to build your first functional app while you learn the fundamentals. This clearly-written book dives into more complex application development topics like styling, cross-platform and OS specific components, APIs, network requests, and animations. In the last part of the book, you’ll learn to develop data architectures and thoroughly test your apps. By the end, you’ll know to build high quality, cross-platform mobile apps with React Native.
Part 1: Getting Started With React Native
1. Getting started with React Native
1.1. Introducing React and React Native
1.1.1. A Basic React Native Class
1.1.2. React Lifecycle
1.2. What You Will Learn
1.3. What You Should Know
1.4. Understanding how React Native works
1.4.1. JSX
1.4.2. Threading
1.4.3. React
1.4.4. Unidirectional data flow
1.4.5. Diffing
1.4.6. Thinking in components
1.5. Acknowledging the strengths
1.5.1. Developer availability
1.5.2. Developer productivity
1.5.3. Performance
1.5.4. One-way data flow
1.5.5. Developer experience
1.5.6. Transpilation
1.5.7. Productivity and efficiency
1.5.8. Community
1.5.9. Open source
1.5.10. Immediate updates
1.5.11. Drawbacks
1.5.12. Conclusion
1.6. Creating and using basic components
1.6.1. Components
1.6.2. Native components
1.6.3. Component composition
1.6.4. Exportable components
1.6.5. Combining components
1.7. Creating a starter project
1.8. Summary
2. Understanding React
2.1. State
2.1.1. STATE
2.2. Props
2.3. React Component Specifications
2.3.1. render
2.3.2. getInitialState and constructor
2.3.3. Default Props
2.3.4. propTypes
2.3.5. statics
2.4. React Lifecycle Methods
2.4.1. ComponentWillMount
2.4.2. componentDidMount
2.4.3. componentWillReceiveProps
2.4.4. shouldComponentUpdate
2.4.5. componentWillUpdate
2.4.6. componentDidUpdate
2.4.7. componentWillUnmount
2.5. Summary
3. Building Your First React Native App
3.1. Building a Todo app
3.1.1. Layout out the Todo app
3.1.2. Coding the Todo app
3.1.3. Opening Developer Menu in iOS Simulator
3.1.4. Opening the developer menu in Android Emulator
3.1.5. Using the Developer Menu
3.1.6. Continuing building the Todo app
3.2. Summary
Part 2: React Native Application Development
4. Introduction to styling
4.1. Styling Overview
4.1.1. Applying styles to elements
4.1.2. Creating a StyleSheet
4.2. Styling View Components
4.3. Styling Text Components
4.4. Summary
5. Styling in depth
5.1. Flexbox
5.1.1. Flexbox Properties
5.1.2. flex Property
5.1.3. flexDirection Property
5.1.4. alignItems Property
5.1.5. justifyContent Property
5.1.6. alignSelf Property
5.1.7. flexWrap Property
5.2. Dynamic Styles
5.2.1. Dynamic Styles Using State and Props
5.2.2. Dynamic Styles Using Functions and Class Methods
5.3. Organizing Styles
5.3.1. Declaring styles in component
5.3.2. Creating reusable stylesheets
6. Cross-platform components
6.1. Implementing native cross-platform components
6.1.1. ActivityIndicator
6.1.2. Image
6.1.3. Modal
6.1.4. Picker
6.1.5. ScrollView
6.1.6. RefreshControl
6.1.7. Slider
6.1.8. Switch
6.1.9. TextInput
6.1.10. TouchableWithoutFeedback
6.1.11. TouchableHighlight
6.1.12. TouchableOpacity
6.2. Summary
7. Navigation and routing
8. Cross platform APIs and polyfills
9. iOS specific components and APIs
10. Android Specific components and APIs
11. Working with network requests
12. Animations
Part 3: Data Architectures & Testing
13. Data architectures
14. Testing
Appendixes
Appendix A: Installing and running React Native
A.1. Developing for iOS Devices
A.1.1. Getting Started
A.2. Developing for Android devices
A.2.1. Mac and Android
A.2.2. Windows and Android
A.2.3. Linux and Android
A.3. Creating a new project
A.4. Running the project
Appendix B: Resources
What's inside
- Installing and running React Native
- In-depth coverage of routing, Redux, and animations
- Implementing React Native components and APIs
- Requesting and sending data over the network
- Storing and retrieving data locally
- Managing data and state
- Testing React Native code
- MEAP combo $49.99 pBook + eBook
- MEAP eBook $39.99 pdf + ePub + kindle
FREE domestic shipping on three or more pBooks