TanStackT
TanStack2mo ago
1 reply
scattered-teal

Root context briefly resets to default value when updating search params

Is that expected behavior?

I consume the root context in a few places using a react hook.

When I update a search parameter using the navigate function the root context resets to its default value for a couple of milliseconds.

This causes a flickering on the screen because some rendering logic is based on values in the root context.
Was this page helpful?