Skip to content
Discussion options

You must be logged in to vote

@TOcvfan : I think the guide is just an idea about how to manage form values between different routes and pages, it was never a guide to integrate with "react-router-dom" library. In the guide, there is no mention a specific routing library meaning people who uses other routing library can take reference on it to make it work for themself.

If you are working with React Router v5, then my recommendation is to stick with it, changing major version of 3rd party library can be a pitfall on current code base.

Beside that, if you have no legacy code, then just go ahead with React Router v6.

Working demo: https://codesandbox.io/s/react-hook-form-wizard-form-forked-ez3lzx

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@TOcvfan
Comment options

Comment options

You must be logged in to vote
1 reply
@bluebill1049
Comment options

Answer selected by bluebill1049
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants