-
-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
[Docs]: Broken documentation URL in data router error messages #12523
Comments
Same goes for the https://reactrouter.com/start/deploying. Returns 404 screen. |
I am experiencing the same issue. when i click on https://reactrouter.com/v6/hooks/use-location Two things happen:
However i noticed when i remove
it takes me to the correct screen |
@MutazAshhab those issues are different and have now been resolved |
What about the screens initially reported: https://reactrouter.com/en/main/routers/picking-a-router and https://reactrouter.com/start/deploying? |
@nemonemi still a problem that needs to be addressed 👍 |
Describe what's incorrect/missing in the documentation
The error message for data router hooks references a broken documentation URL:
"... must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router"
When clicking the URL in the error message, it leads to a 404 page. The documentation link appears to be outdated or incorrect.
The error message is returned by
getDataRouterConsoleError()
and used across multiple data router hooks.Environment:
The text was updated successfully, but these errors were encountered: