Build React Native Apps with Simplified and Predictable Navigation

TL;DR

Bootstrap React Native app

> npx react-native init RNNScreensExample --template react-native-template-typescript
> cd RNNScreensExample

Install libraries

> yarn add react-native-navigation rnn-screens
> npx rnn-link # linking RNN
> npx pod-install # installing pods

Set up Navigation

index.js
App.tsx (Components)
App.tsx (Navigation)
Tab based app

Run the app

> npx react-native run-ios # or
> npx react-native run-android

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Batyr

Batyr

Problems solver. Open Source Staff. MS in CS. https://batyr.io