-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade react-router-dom to v6 #1945
Comments
Estimate: 2hr BrowserRouter
Routes
Route
Original:
New version:
Link
Navigate
useParams
useSearchParams
useNavigate
useHref
useBlocker
useLocation
useResolvedPath
|
react-router-dom@6 has been released. We are still using one of the beta version.
useBlocker
was removed in v6.0.0-beta.7 and still does not come back as of 2022-05-20.There is a bug issue regarding the
*
routes with the<a href>
tag (remix-run/react-router#8086) and it is fixed in v6.0.0-beta7 (https://github.com/remix-run/react-router/releases/tag/v6.0.0-beta.7).So, this issue will not be solved at this moment.
The text was updated successfully, but these errors were encountered: