Docs suggest { context: TAllContext }
in loaderDeps
but it is not
#1216
Labels
documentation
Everything documentation related
Describe the bug
The docs for
loaderDeps
indicate that you can access thecontext
(besides e.g.search
) to create a dependency record. Though, when I do that using"@tanstack/react-router": "^1.16.6",
it is not found.I assume it is either missing in the code or the docs are not up to date. If latter is the case, I wonder why
context
was removed, since I use it inloader
to inject fetch arguments.Your Example Website or App
https://stackblitz.com/edit/github-swqukk?file=src%2Fmain.tsx
Steps to Reproduce the Bug or Issue
main.tsx
context
errorundefined
value in the consoleExpected behavior
I expect
context
from theloaderDeps
to be defined.Screenshots or Videos
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: