DEV Community

Discussion on: React Redux | Learn the redux easily with project

Collapse
 
phutngo profile image
Phu Ngo

Genuinely curious, besides having to work on older codebases, why use redux when zustand can do the same thing in half the lines of codes and half of the time to do it?

Collapse
 
italoec profile image
Italo Alves

I don't know zustand in depth, but, beyond redux be the default choice in professional applications, redux brings much more possibilities than only state management. For example redux thunk, redux sagas, redux persist.. this libs offer ways to remove the logic out of the component files, and this improove the organization of the codebase