Skip to Main Content
React Projects
book

React Projects

by Roy Derks
December 2019
Intermediate to advanced content levelIntermediate to advanced
474 pages
10h 3m
English
Packt Publishing
Content preview from React Projects

Creating routes with React Navigation

Let's proceed by installing React Navigation. There are many packages available to help you handle routing in React Native, but this is one of the most popular and advised to use by Expo. Besides React Navigation, you must also install the related packages, called react-navigation-stack and react-navigation-tabs, which are needed to create the navigators for your application. React Navigation and its dependencies can be installed by running the following command:

npm install react-navigation react-navigation-stack react-navigation-tabs

To add routing to your React Native application, you will need to understand the difference between routing in a browser and a mobile application. History in React Native ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

React Projects - Second Edition

React Projects - Second Edition

Roy Derks
Test-Driven React

Test-Driven React

Trevor Burnham

Publisher Resources

ISBN: 9781789954937Supplemental Content