how to get the information of which route we are in react code example Example: routes react npm install --save react-router-dom