![reactjs - Compiled with problems:X ERROR in ./src/route/AppRoute.js 12:37-43 export 'Switch' (imported as 'Switch') was not found in 'react- router' - Stack Overflow reactjs - Compiled with problems:X ERROR in ./src/route/AppRoute.js 12:37-43 export 'Switch' (imported as 'Switch') was not found in 'react- router' - Stack Overflow](https://i.stack.imgur.com/Qu3UO.png)
reactjs - Compiled with problems:X ERROR in ./src/route/AppRoute.js 12:37-43 export 'Switch' (imported as 'Switch') was not found in 'react- router' - Stack Overflow
![reactjs - Attempted import error: 'Switch' is not exported from 'react- router-dom' - Stack Overflow reactjs - Attempted import error: 'Switch' is not exported from 'react- router-dom' - Stack Overflow](https://i.stack.imgur.com/rXUmA.png)
reactjs - Attempted import error: 'Switch' is not exported from 'react- router-dom' - Stack Overflow
![v6]] 'Switch' is not exported from 'react-router-dom'. · Issue #8226 · remix-run/react-router · GitHub v6]] 'Switch' is not exported from 'react-router-dom'. · Issue #8226 · remix-run/react-router · GitHub](https://user-images.githubusercontent.com/22445609/140454354-c73bea93-cd62-4f1e-92fc-7dc605013c37.png)