different ways to write routes in react code example Example: how to do routes react js npm install react-router-dom