how to do routes on react yarn code example Example: install react router $ npm install --save react-router