How to install and use React Router

What Is React Router?

React Router is a handy tool that allows our single page applications to function as if we have multiple pages for users to view. The benefit of this is giving users multiple page application functionality (different content per page) while retaining single page application website speed.

Project Startup

To start off this tutorial you will need to spin up a React App project using the npm package, ‘create-react-app’ so make sure you have it installed.