Internal state not reflecting actual state of query params after route change #862
Labels
adapters/react-router
Uses the React Router adapter
bug
Something isn't working
feature/useQueryStates
Milestone
Context
What's your version of
nuqs
?What framework are you using?
Which version of your framework are you using?
Description
The internal state of
nuqs
id not reflecting the actual state of query params after route changeReproduction
When switching between
/orders
and/orders/history
throughreact-router
navigate
, the filters will carry over.E.g., Say we have
search=bob
whenorderType
ishistorical
, and then we navigate, the url will not have any search params, but the search part of filters will remain the same.The text was updated successfully, but these errors were encountered: