link react router don code example
Example 1: react router dom
npm install react-router-dom
Example 2: react-router-dom
npx create-react-app demo-app
cd demo-app
npm install react-router-dom
npx create-react-app demo-app
cd demo-app