![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
![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/max/1200/1*Lyz_cAzVHBqPAdF5lfUxEQ.png)
Setting up routes in your React Application with react-router-dom — part 1/2 | by Alex Mendes | Medium
![Ryan Florence on Twitter: "I love the React Router JSX API. "How do I pass props to a route component?" You uh ... you pass it props. https://t.co/N0JMKctl3X" / Twitter Ryan Florence on Twitter: "I love the React Router JSX API. "How do I pass props to a route component?" You uh ... you pass it props. https://t.co/N0JMKctl3X" / Twitter](https://pbs.twimg.com/media/EL7cAeFUUAABRsr.jpg)
Ryan Florence on Twitter: "I love the React Router JSX API. "How do I pass props to a route component?" You uh ... you pass it props. https://t.co/N0JMKctl3X" / Twitter
![Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. · Issue #5428 · remix-run/react-router · GitHub Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. · Issue #5428 · remix-run/react-router · GitHub](https://user-images.githubusercontent.com/12945325/29207478-d9abba7c-7eb8-11e7-83d7-debb630929df.png)