Introduction
When you create React app, it does not include the page routing function. React Router is one of the popular solution to make routing in React application. It allows you to define routes in your application and navigate between different views or components without triggering a full page reload.
Installation
Go to your React application folder and install react router with this command
npm install react-router-dom
In next page, we will learn about basic navigation by using React router V6