setting up routes in react js code example Example: how to do routes react js npm install react-router-dom