when should i use react router code example Example: how to use react router npm install react-router-dom