TanStackT
TanStack7mo ago
8 replies
sad-indigo

Initialize root router context from hook?

How do I initialize the root router context with a value from a hook? Is there any other way to take a value from a hook (which requires a context wrapper) and use it in the router context?
Was this page helpful?