what does react router do code example
Example 1: router react
npm install react-router-dom
Example 2: router react
npm install -g create-react-app
create-react-app demo-app
cd demo-app
npm install react-router-dom
npm install -g create-react-app
create-react-app demo-app
cd demo-app