Next.js Discord

Discord Forum

with server components, is usingRedux in next js app an Anti Pattern ?

Unanswered
Himalayan posted this in #help-forum
Open in Discord
HimalayanOP
I wanted to know if it's really anti pattern or bad practice to use Redux today with next js, should we avoid it ?

3 Replies

Blue orchard bee
Depends, is your team mostly versed with Redux? Do you really need global state management? Sometimes local state to each component is enough.

I find Zustand to have much less boilerplate.
It's best to study a your use case and find the best tool for the job.
If you state truly is complex and all of your team knows Redux then Redux is good.