🛑 Stop using React Context #javascript #webdevelopment #tutorial

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Interesting. I've not heard the argument to actually add a dependency instead of using what's built in as much as possible first.

codefinity
Автор

You can set up Context to only re render the components that are subscribed to it

MikHess
Автор

My rule of thumb is to use Context for low frequency data, things that will not change often. High frequency data like form fields? Use a state store if it needs to be shared amongst other components.

guillermo.avalos
Автор

Fun fact: The German word for “state” is “Zustand” 😂

Sanjo
Автор

Does React 19's compiler solve this problem?

bobwilkinsonguitar
Автор

Great videos as always. Question: What VSC theme do you use in the video?

germandeluca
Автор

How does Zustand compare to Redux in this regard?

ts.wizard
Автор

Does this mean Zustand is generally a better choice for any global state? Context maybe when the state change is user auth related?

meyn
Автор

As far as I know, if we use context only the components which use the context state will be rendered again right? Or does it re render the entire tree?

anuraggharat
Автор

Is Zustand like Redux and the other one? (Forgot the name)

mikopiko
Автор

Please stop spreading missinformation. Now you can use React Compiler to avoid unnecesary rerenders, and React Context is fine for most cases (but not all ofc)

oscarljimenez
welcome to shbcf.ru