Learning React Native building mobile applications with JavaScript

"Get a practical introduction to React Native, the JavaScript framework for writing and deploying fully featured mobile apps that look and feel native. With this hands-on guide, you'll learn how to build applications that target iOS, Android, and other mobile platforms instead of browsers....

Full description

Bibliographic Details
Main Author: Eisenman, Bonnie
Format: eBook
Language:English
Published: Sebastopol, CA O'Reilly Media 2015
Edition:First edition
Subjects:
Online Access:
Collection: O'Reilly - Collection details see MPG.ReNa
Table of Contents:
  • Analogies Between HTML Elements and Native ComponentsThe Text Component; The Image Component; Working with Touch and Gestures; Using TouchableHighlight; The GestureResponder System; PanResponder; Working with Organizational Components; Using ListView; Using Navigators; Other Organizational Components; Platform-Specific Components; iOS- or Android-Only Components; Components with Platform-Specific Versions; When to Use Platform-Specific Components; Summary; Chapter 5. Styles; Declaring and Manipulating Styles; Inline Styles; Styling with Objects; Using Stylesheet. Create; Style Concatenation
  • Displaying a List of PhotosUploading an Image to a Server; Storing Persistent Data with AsyncStore; Other Storage Options; The SmarterWeather Application; The WeatherProject Component; The Forecast Component; The Button Component; The LocationButton Component; The PhotoBackdrop Component; Summary; Chapter 7. Modules; Installing JavaScript Libraries with npm; Native Modules for iOS; Including a Third-Party Component; Using the Video Component; Anatomy of an Objective-C Native Module; Implementation of RCTVideo; Native Modules for Android; Installing a Third-Party Component
  • Copyright; Table of Contents; Preface; Prerequisites; Conventions Used in This Book; Using Code Examples; Safari® Books Online; How to Contact Us; Resources; Acknowledgments; Chapter 1. What Is React Native?; Advantages of React Native; Developer Experience; Code Reuse and Knowledge Sharing; Risks and Drawbacks; Summary; Chapter 2. Working with React Native; How Does React Native Work?; Rendering Lifecycle; Creating Components in React Native; Working with Views; Using JSX; Styling Native Components; Host Platform APIs; Summary; Chapter 3. Building Your First Application
  • Setting Up Your EnvironmentInstalling React Native; iOS Dependencies; Android Dependencies; Creating a New Application; Running a React Native Application for iOS; Uploading to Your iOS Device; Running a React Native Application for Android; Recap: Creating and Running Projects; Exploring the Sample Code; Attaching a Component to the View; Imports in React Native; The FirstProject Component; Building a Weather App; Handling User Input; Displaying Data; Adding a Background Image; Fetching Data from the Web; Putting It Together; Summary; Chapter 4. Components for Mobile
  • Organization and InheritanceExporting Style Objects; Passing Styles as Props; Reusing and Sharing Styles; Positioning and Designing Layouts; Layouts with Flexbox; Using Absolute Positioning; Putting It Together; Summary; Chapter 6. Platform APIs; Using Geolocation; Getting the User's Location; Handling Permissions; Testing Geolocation In the iOS Simulator; Watching the User's Location; Limitations; Updating the Weather Application; Accessing the User's Images and Camera; The CameraRoll Module; Requesting Images with GetPhotoParams; Rendering an Image from the Camera Roll