Getting Started with React Native

Learn to build modern native iOS and Android applications using JavaScript and the incredible power of React

Getting Started with React Native

This ebook is included in a Mapt subscription
Ethan Holmes, Tom Bray

3 customer reviews
Learn to build modern native iOS and Android applications using JavaScript and the incredible power of React
$10.00
$29.99
RRP $23.99
RRP $29.99
eBook
Print + eBook
Preview in Mapt

Book Details

ISBN 139781785885181
Paperback172 pages

Book Description

React Native is a game-changing approach to hybrid mobile development. Web developers can leverage their existing skills to write mobile applications in JavaScript that are truly native without using cross-compilation or web views. These applications have all of the advantages of those written in Objective-C or Java, combined with the rapid development cycle that JavaScript developers are accustomed to.

Web developers who want to develop native mobile applications face a high barrier to entry, because they are forced to learn platform-specific languages and frameworks. Numerous hybrid technologies have tried to simplify this process, but have failed to achieve the performance and appearance that users expect.

This book will show you all the advantages of true native development that React Native has without the steep learning curve, leveraging the knowledge you already have. We do this by getting you up and running quickly with a sample application. Next, we’ll introduce you to the fundamentals of creating components and explain how React Native works under the hood. Once you have established a solid foundation, you will dive headfirst into developing a real-world application from start to finish. Along the way, we will demonstrate how to create multiple screens and navigate between them,use layout and style native UI components, and access native APIs such as local storage and geolocation. Finally, we tackle the advanced topic of Native modules, which demonstrates that there are truly no limits to what you can do with React Native.

Table of Contents

Chapter 1: Exploring the Sample Application
Installing Xcode
Running the sample application
Experimenting with the sample application
Summary
Chapter 2: Understanding React Native Fundamentals
The Virtual DOM
Components
Summary
Chapter 3: Beginning with the Example Application
Generating the projects
Structuring the application
Navigation
Summary
Chapter 4: Working with Styles and Layout
React CSS
Layout and Flexbox
Styling the NavigationBar component
Styling the NoteScreen
Summary
Chapter 5: Displaying and Saving Data
Lists
Summary
Chapter 6: Working with Geolocation and Maps
Introducing the Geolocation API
Tagging notes with geolocation
NoteLocationScreen
Summary
Chapter 7: Integrating Native Modules
Adding images to notes
Installing react-native-camera on iOS
Viewing images
Connecting the final pieces
Summary
Chapter 8: Releasing the Application
Generating the static bundle in iOS
Testing the static bundle in iOS
Creating an iOS release in Xcode
Generating the Android APK
Summary

What You Will Learn

  • Set up the React Native environment on both devices and emulators
  • Gain an in-depth understanding of how React Native works behind the scenes
  • Write your own custom native UI components
  • Learn the ins and outs of screen navigation
  • Master the art of layout and styles
  • Work with device-exclusive data such as geolocation
  • Develop native modules in Objective-C and Java that interact with JavaScript
  • Test and deploy your application for a production-ready environment

Authors

Table of Contents

Chapter 1: Exploring the Sample Application
Installing Xcode
Running the sample application
Experimenting with the sample application
Summary
Chapter 2: Understanding React Native Fundamentals
The Virtual DOM
Components
Summary
Chapter 3: Beginning with the Example Application
Generating the projects
Structuring the application
Navigation
Summary
Chapter 4: Working with Styles and Layout
React CSS
Layout and Flexbox
Styling the NavigationBar component
Styling the NoteScreen
Summary
Chapter 5: Displaying and Saving Data
Lists
Summary
Chapter 6: Working with Geolocation and Maps
Introducing the Geolocation API
Tagging notes with geolocation
NoteLocationScreen
Summary
Chapter 7: Integrating Native Modules
Adding images to notes
Installing react-native-camera on iOS
Viewing images
Connecting the final pieces
Summary
Chapter 8: Releasing the Application
Generating the static bundle in iOS
Testing the static bundle in iOS
Creating an iOS release in Xcode
Generating the Android APK
Summary

Book Details

ISBN 139781785885181
Paperback172 pages
Read More
From 3 reviews

Read More Reviews