React Native – Stack Navigation

Step 1

Step 2

If you’re on a Mac and are building for iOS, you need to install the pods to complete the connection (via Cocoapods).

Wrap the entire app in NavigationContainer in your entry file like App.js


In this example we will navigate between different .js files

These .js files are kept in /src folder