learn_react_router
learn_react_router copied to clipboard
Switch seems to no longer be supported
I get the following error: export 'Switch' (imported as 'Switch') was not found in 'react-router-dom' I think we need to upgrade this: s/Switch/Routes/g
https://reactrouter.com/docs/en/v6/upgrading/v5
Yes, as noted in the video description, I have an updated tutorial for React Router v6 using the same blog project here: https://youtu.be/XBRLVRjZ3CQ
On Fri, Jun 24, 2022 at 7:07 AM 1gn0r4nd @.***> wrote:
I get the following error: export 'Switch' (imported as 'Switch') was not found in 'react-router-dom' I think we need to upgrade this: s/Switch/Routes/g
https://reactrouter.com/docs/en/v6/upgrading/v5
— Reply to this email directly, view it on GitHub https://github.com/gitdagray/learn_react_router/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHRWJN6HLQBMU2A2MDWRVBTVQWQGLANCNFSM5ZXUXWZQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>