Understanding MobX vs Redux

preview_player
Показать описание

Two things that I need to clarify for MobX: It is not exactly that one mutation mutates other values, but it updates the derivations based on the observable values. In MobX you can still use actions, and even dispatchers if you want. It's not needed from a technical perspective, but you can still use them for readability.
Рекомендации по теме
Комментарии
Автор

Watched several videos on diff. between these two, your video 4 min explains everything. Thanks man

ahmettopic
Автор

Thanks for the vid. Great, simple to understand explanation.

codebytom
Автор

One other thing with Redux and Redux Toolkit you write your JS state logic in the Redux ecosystem. With MobX you have to write it in the React component, which is not as extendible. Bad practice to mutate state in React due to the practice of a virtual DOM, also. But Mob X seems much more secure. Often you find logic in Redux randomly returning different values without changing the code. Extremely manual. Redux is also known for its speed. The website visitors don't care how you coded it, but the they do experience the load time. I would only chose Mob X over Redux for two reasons- security and a shorter learning curve, otherwise Redux is still the most effective for large scale frontends which utilise re-usable code.

mikewilliams
Автор

Your explanation way is very good... Waiting for your next video

amitgarg
Автор

Finally someone who has a good mic... Man all these talks, you can't understand a thing!

TheMatthegamer
Автор

Good stuff, thanks for the explanation!

therhythmatic
Автор

nice explanation, thanks for the vid. any preference between MobX and Redux?

JDiculous
Автор

ty!! was looking for something to tell me what these all about .. really not much res on the comparison of these 2

baba_enter
Автор

When I would pick one overe the other is, I would always pick redux over mobx :+)

skendereducation
join shbcf.ru