react-router-config - You should not use <Switch> outside a <Router> (it is inside a Router!) · Issue #6679 · remix-run/react-router · GitHub
![reactjs - npm install react-router-dom.... isn't working and i am getting the following msg - Stack Overflow reactjs - npm install react-router-dom.... isn't working and i am getting the following msg - Stack Overflow](https://i.stack.imgur.com/m4q79.png)
reactjs - npm install react-router-dom.... isn't working and i am getting the following msg - Stack Overflow
![React Advanced Route Config and Code Splitting | PT 18 | React Router V6 | Full Course 2024 - YouTube React Advanced Route Config and Code Splitting | PT 18 | React Router V6 | Full Course 2024 - YouTube](https://i.ytimg.com/vi/HjZqRFRMfk4/maxresdefault.jpg)