import error: 'Switch' is not exported from 'react-router-dom' (imported as 'Switch'). , export 'Redirect' (imported as 'Redirect') was not found in 'react-router-dom' (possible exports: #11858
Unanswered
BACHUPAVANKALYAN
asked this question in
Q&A
Replies: 1 comment
-
They're were removed in v6: https://reactrouter.com/en/main/upgrading/v5 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Switch,Redirect is not exported in react-router-dom showing errors
Beta Was this translation helpful? Give feedback.
All reactions