TanStackT
TanStack2y ago
36 replies
dangerous-fuchsia

Router context for non-root routes

Here is the problem I am facing, I have a provider that wraps a child route, for other routes nested in this child route, I need to attach some context from this provider in my query call. How can I access the context from this provider on a route loader? Thanks
CleanShot_2024-01-31_at_21.06.502x.png
Was this page helpful?