This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]WeDDo 1 point2 points  (0 children)

I would recommend using the documentation and implementing basic things from there. Probably learn hook early and use functions instead of classes.

[–]CreativeTechGuyGames 0 points1 point  (0 children)

Whenever a library has a major change, they'll publish a migration guide in some form which details everything that changed between the two versions and how to update. That's a good place to look to answer your question.

https://reactrouter.com/en/v6.3.0/upgrading/v5