Only one Routing is working in React js code example Example: routes react npm install --save react-router-dom