TanStackT
TanStack16mo ago
44 replies
colossal-harlequin

react context provider is not updating router context

I have an auth provider wrapping my route provider.

I am then using an auth hook and passing its state to the RouteProvider context.

When auth state is changed the context does not seem to update. Is this expected behavior?
image.png
Was this page helpful?