How To Pick A React State Manager

preview_player
Показать описание
We take a look at all of the different types of state managers for React. Redux, Zustand, Jotai, Recoil, Effector, MobX, Valtio and more!

#shorts
Рекомендации по теме
Комментарии
Автор

Frontend getting way too complex day by day.

salmanansari
Автор

I just thought i would mention i have moved to using zustand as my state manager of choice for react native thanks to your tutorials. After many years of class components, redux-thunk and redux saga it's a breath of fresh air.

deathmachine
Автор

If you haven't already, please make a full video on all these state managers and then some (zustand, react query, etc). Thanks in advance!

Thassalocracy
Автор

I would like a good way to know when to pick Zustand, Valtio and Jotai.

henriquealmeida
Автор

This kind of content is awesome man. Nice and quick, you learn something in a short space of time I'm all for it

deathmachine
Автор

Can you explore more this topic on one of your fantastic videos? I would love to know more about it

sxta
Автор

As a German, it makes me happy that "Zustand" has a German name 😊

codinginflow
Автор

This is a gold mine of resources, thank you for sharing

Janim
Автор

That's how Angular works. It's beautiful.

cipherxen
Автор

This was helpful but can we know based on business model on how they work individually

emmanueloni
Автор

Could you please elaborate a bit on the case when the data comes as a stream? What does it mean? Effector seems a bit confusing, what are circumstances it's a great tool to use? Thank you in advance

besizzo
Автор

Used to use MobX back in the class days. Found the mutatable state created great idiomatic react code, and the provider/inject pattern handled prop drilling nicely.

With functional components + hooks, I haven't saw much point in using a state management library. Custom hooks + context gives me everything i need for most use cases. I'm even finding Redux a little excessive the more I've progressed my understanding of React.

If you have found yourself working on any new projects, do you reach for any of these libraries instinctively?

meh
Автор

Redux is still more popular then all of them some how!

AX
Автор

how about zustand? what category does zustand fall into?

ihsanmohamad
Автор

Effector is the best and the simple one!

iomka
Автор

Does react query count as a state manager?

neilmerchant
Автор

Hi what do you think of Custom Event and Event Emitter pattern, should we use them to sharing states between components instead of data store like Redux in React?

VoxyDev
Автор

Statement at the end should be "can make a difference between a GOOD DX vs a Great DX" because i don't think there is actually a BAD choice. The most popular solutions are all decent.

aliasalias
Автор

Which ones are mostly used in companies? I don't like redux (I'm a beginner) because there's a lot of setup involved)

blackpurple
Автор

Jotai is like a peace of magic i don't understand, and bother to even try understanding it

blazi_