English | 2017 | ISBN: 1786465658 | 604 Pages | True PDF, EPUB, AZW3 | 57 MB
Use React and React Native to build applications for desktop browsers, mobile browsers, and even as native mobile apps
React and React Native allows you to build cross-platform desktop and mobile applications using Facebook's innovative UI libraries. Combined with the Flux data architecture and Relay, you can now create powerful and feature-complete applications from one code base.
This book is split into three parts. The first part shows you how to start crafting composable UIs using React, from rendering with JSX and creating reusable components through to routing and creating isomorphic applications that run on Node.
The second part then shows you how to take the concepts of React and apply them to building Native UIs using React Native. You'll find out how to build responsive and streamlined UIs that can properly handle user interactions in a mobile environment. You'll also learn how to access device-specific APIs such as the geolocation API, and how to handle offline development with React Native.
The last part ties all of these skills together and shows you how you can create React applications that run on every major platform. As well as understanding application state in depth, you'll learn how to leverage Relay to make feature-complete, data-driven web and native mobile applications.
What you will learn
- Craft reusable React components
- Control navigation using the React Router to help keep you UI in sync with URLs
- Build isomorphic web applications using Node.js
- Use the Flexbox layout model to create responsive mobile designs
- Leverage the native APIs of Android and iOS to build engaging applications with React Native
- Respond to gestures in a way that's intuitive for the user
- Use Relay to build a unified data architecture for your React UIs