how to implement react router code example Example: how to use react router npm install react-router-dom