In this chapter, we will understand navigation in React Native.
Step 1 – Install Router
To begin with, we need to install the Router. We will use the React Native Router Flux in this chapter. You can run the following command in terminal, from the project folder.
Since we want our router to handle the entire application, we will add it in index.ios.js. For Android, you can do the same in index.android.js.