DEV Community

Discussion on: Next-Gen Way to Connect Redux Store to React Component

Collapse
 
krtirtho profile image
Kingkor Roy Tirtho

So the next-gen react-redux is actually zustand? Didn't expect they'd copy the API of it but that's the fun part of open-source. But at least it'd take fewer boilerplates

Collapse
 
phryneas profile image
Lenz Weber • Edited

This is pretty much as old as Zustand - it came out 2019, a few months after React hooks came out (after some fiddling they did to make sure that the api was good)

Collapse
 
ruppysuppy profile image
Tapajyoti Bose

Its quite similar, yet different from zustand.

Ps: I don't know much about zustand, I looked through how it's used and drawing conclusion from that

Collapse
 
krtirtho profile image
Kingkor Roy Tirtho

Of course, they don't work similarly
zustand is much more flexible, simple & atomic. FYI, it doesn't have the zombie-child/stale-props issue too
It's a great state manager for simplicity in your codebase

Thread Thread
 
ruppysuppy profile image
Tapajyoti Bose

Great! I'll definitely look into it