State management in NextJS
Answered
Bigheaded ant posted this in #help-forum
Bigheaded antOP
How can we use some state management in NextJS? is it by using some library seperately or NextJS has already provided it?
Answered by Luis
You can still use the same libraries you would use with React alone: Zustand, Jotai, Xstate, Redux..
5 Replies
Samoyed
Typically you would use
useState and useEffect provided by React.You can still use the same libraries you would use with React alone: Zustand, Jotai, Xstate, Redux..
Answer
American Chinchilla
React query too
@American Chinchilla React query too
Yes for async server state is great