![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)
v6]] 'Switch' is not exported from 'react-router-dom'. · Issue #8226 · remix-run/react-router · GitHub
![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/sgsWm.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
![Setting up routes in your React Application with react-router-dom — part 1/2 | by Alex Mendes | Medium Setting up routes in your React Application with react-router-dom — part 1/2 | by Alex Mendes | Medium](https://miro.medium.com/v2/resize:fit:1400/1*Lyz_cAzVHBqPAdF5lfUxEQ.png)
Setting up routes in your React Application with react-router-dom — part 1/2 | by Alex Mendes | Medium
![How to Fix Attempted Import Error Switch is Not Exported From react-router- dom or React Router Dom - YouTube How to Fix Attempted Import Error Switch is Not Exported From react-router- dom or React Router Dom - YouTube](https://i.ytimg.com/vi/cR3_B_JzqO4/maxresdefault.jpg)