We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In the 6.4 docs, the very first loader example is wrong.
https://reactrouter.com/en/main/start/overview#nested-routes
Expected:
<Route path="dashboard" element={<Dashboard />} loader={{ request }) => fetch("/api/dashboard.json", { signal: request.signal, }) } />
Actual:
<Route path="dashboard" element={<Dashboard />} loader={fetch("/api/dashboard.json", { signal: request.signal, })} />
Documentation example should be fixed.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What is the new or updated feature that you are suggesting?
In the 6.4 docs, the very first loader example is wrong.
https://reactrouter.com/en/main/start/overview#nested-routes
Expected:
Actual:
Why should this feature be included?
Documentation example should be fixed.
The text was updated successfully, but these errors were encountered: