Let's start our journey with React Navigation by installing the library with the following command:
yarn add react-navigation
Once the library is installed, let's try the easiest path and use a stack navigation system that resembles the type seen in a browser.
For those of you who do not know, or have forgotten what a stack is, the name stack comes from a real-life analogy to a set of items stacked on top of each other. Item can be pushed to the stack (placed at the top), or popped from the stack (taken from the top). A special structure, pushing this idea further, resembles a horizontal stack with access from both the bottom and top. Such a structure is called a queue; however, we will not use queues in this book. ...