learn_react_router icon indicating copy to clipboard operation
learn_react_router copied to clipboard

Switch seems to no longer be supported

Open 1gn0r4nd opened this issue 3 years ago • 1 comments

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

1gn0r4nd avatar Jun 24 '22 12:06 1gn0r4nd

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: @.***>

gitdagray avatar Jun 26 '22 15:06 gitdagray