Mastering React Native

Leverage frontend development skills to build impressive iOS and Android applications with React Native

Mastering React Native

This ebook is included in a Mapt subscription
Eric Masiello, Jacob Friedmann

Leverage frontend development skills to build impressive iOS and Android applications with React Native
$0.00
$18.00
$44.99
$29.99p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 4,000+ eBooks & Videos
  • 40+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781785885785
Paperback496 pages

Book Description

React Native has completely revolutionized mobile development by empowering JavaScript developers to build world-class mobile apps that run natively on mobile platforms. This book will show you how to apply JavaScript and other front-end skills to build cross-platform React Native applications for iOS and Android using a single codebase.

This book will provide you with all the React Native building blocks necessary to become an expert. We’ll give you a brief explanation of the numerous native components and APIs that come bundled with React Native including Images, Views, ListViews, WebViews, and much more. You will learn to utilize form inputs in React Native. You’ll get an overview of Facebook’s Flux data architecture and then apply Redux to manage data with a remote API. You will also learn to animate different parts of your application, as well as routing using React Native’s navigation APIs.

By the end of the book, you will be able to build cutting-edge applications using the React Native framework.

Table of Contents

Chapter 1: Building a Foundation in React
Library versus framework
Motivation for React
Getting started in React
Describing components in JSX
The component
Component composition
Props and PropTypes
Event handlers
State
The component lifecycle
Alternate component forms
Summary
Chapter 2: Saying HelloWorld in React Native
Understanding the mobile app development ecosystem
Understanding all the React Native tools
Watchman
Installing our tools
Installing Watchman and Flow
Creating our first React Native app
Understanding our HelloWorld app
Debugging a React Native app
Summary
Chapter 3: Styling and Layout in React Native
Constructing and applying styles
Styling without inheritance
Understanding React Native's take on the box model and flexbox
Understanding Flexbox
Styling text with React Native
Styling images
Inspecting and debugging styles
Adding media query behavior to React Native
Summary
Chapter 4: Starting our Project with React Native Components
Native components
Native APIs
Summary
Chapter 5: Flux and Redux
The Flux architecture
Getting started with Redux
Summary
Chapter 6: Integrating with the NYT API and Redux
Understanding the NYT API data
Wiring up our Redux data flow
Wiring up the NYT API with asynchronous requests
Summary
Chapter 7: Navigation and Advanced APIs
Navigation landscape
Using Navigator
Advanced navigation with NavigationExperimental
Other advanced APIs
Summary
Chapter 8: Animation and Gestures in React Native
Introducing LayoutAnimation and Animated
Building the basic Onboarding experience
Adding LayoutAnimation
Understanding Animated
Using PanResponder with the Animated API
Summary
Chapter 9: Refactoring for Android
Installing the necessary tools
Adding Android support to RNNYT
Summary
Chapter 10: Using and Writing Native Modules
Using native modules
Writing native modules
Summary
Chapter 11: Preparing for Production
Testing
Performance
Running on physical devices
Deploying our application
Summary
Chapter 12: React Native Tools and Resources
Evaluating React Native Editors, Plugins, and IDEs
Taking React Native beyond iOS and Android
Summary
References

What You Will Learn

  • Implement native React Native components and APIs
  • Explore React’s JSX syntax
  • Manage data using Redux and Redux middleware
  • Build applications with React Native on both iOS and Android platforms
  • Perform animations in your applications using the animation APIs
  • Understand routing and Navigator comparison
  • Create your own Native module

Authors

Table of Contents

Chapter 1: Building a Foundation in React
Library versus framework
Motivation for React
Getting started in React
Describing components in JSX
The component
Component composition
Props and PropTypes
Event handlers
State
The component lifecycle
Alternate component forms
Summary
Chapter 2: Saying HelloWorld in React Native
Understanding the mobile app development ecosystem
Understanding all the React Native tools
Watchman
Installing our tools
Installing Watchman and Flow
Creating our first React Native app
Understanding our HelloWorld app
Debugging a React Native app
Summary
Chapter 3: Styling and Layout in React Native
Constructing and applying styles
Styling without inheritance
Understanding React Native's take on the box model and flexbox
Understanding Flexbox
Styling text with React Native
Styling images
Inspecting and debugging styles
Adding media query behavior to React Native
Summary
Chapter 4: Starting our Project with React Native Components
Native components
Native APIs
Summary
Chapter 5: Flux and Redux
The Flux architecture
Getting started with Redux
Summary
Chapter 6: Integrating with the NYT API and Redux
Understanding the NYT API data
Wiring up our Redux data flow
Wiring up the NYT API with asynchronous requests
Summary
Chapter 7: Navigation and Advanced APIs
Navigation landscape
Using Navigator
Advanced navigation with NavigationExperimental
Other advanced APIs
Summary
Chapter 8: Animation and Gestures in React Native
Introducing LayoutAnimation and Animated
Building the basic Onboarding experience
Adding LayoutAnimation
Understanding Animated
Using PanResponder with the Animated API
Summary
Chapter 9: Refactoring for Android
Installing the necessary tools
Adding Android support to RNNYT
Summary
Chapter 10: Using and Writing Native Modules
Using native modules
Writing native modules
Summary
Chapter 11: Preparing for Production
Testing
Performance
Running on physical devices
Deploying our application
Summary
Chapter 12: React Native Tools and Resources
Evaluating React Native Editors, Plugins, and IDEs
Taking React Native beyond iOS and Android
Summary
References

Book Details

ISBN 139781785885785
Paperback496 pages
Read More

Read More Reviews