-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
documentationEverything documentation relatedEverything documentation related
Description
Describe the bug
The docs for loaderDeps indicate that you can access the context (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 in loader 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
- Go to
main.tsx - Go to line 34
- See the underlined
contexterror - See the
undefinedvalue in the console
Expected behavior
I expect context from the loaderDeps to be defined.
Screenshots or Videos
Platform
- OS: macOS Sonoma 14.3.1
- Browser: Chrome
- Version: 1.16.6
Additional context
No response
rolftimmermans
Metadata
Metadata
Assignees
Labels
documentationEverything documentation relatedEverything documentation related

