The plan
We've now arrived at the point where our application is technically working (in that we allow users to log in) but is lacking in real, useful content. It's time to change that.
To do so, however, we need to add additional pages to our application. Some of you may have heard the term Single-Page Application (SPA), which is used to refer to React apps and therefore may be confused by this talk of more pages. We'll cover that distinction as we move further on, and then move into our actual routing setup using React Router.
Here's what we'll learn:
- How to install and use React Router v4
- How to add additional routes to additional components
- How to move between routes