Skip to main content

Introduction

react-router-ogimage.png

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