-
Genuine question. I'm not knowledgeable enough in state management, so although this solution seems cool, I don't know in which cases it should be used over other state management tools we have. Is it better for a particular case? Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is a great question to ask! Usual cases for this would be places where you'd normally use
Now there are lots of types of state in a web application, many of which would be unsuitable for this pattern, like server state, or local temporary UI state that does not warrant linkability. Things that the community tends to use
|
Beta Was this translation helpful? Give feedback.
This is a great question to ask!
Usual cases for this would be places where you'd normally use
React.useState
, but want on top of it:<Link>
components)Now there are lots of types of state in a web application, many of which would be unsuitable for this pattern, like server state, or local temporary UI state that does not warrant linkability.
Things that the community tends to use
nuqs
for include:?q=my+search+input
in the URL to link back to a results page)?page=47
, usingparseAsInteger
,…