No video

Mobx React - State Management Alternative to Redux

  Рет қаралды 8,868

Monsterlessons Academy

Monsterlessons Academy

Күн бұрын

Пікірлер: 41
@MrRafaellbc
@MrRafaellbc Жыл бұрын
Very nice, straight to the point tutorial. Thank you!
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
You are welcome!
@everurstruly
@everurstruly 11 ай бұрын
I wished there was a VSCode theme like the one he uses. Great video btw! love how you explained the concepts rather than just type and read code all through the video
@MonsterlessonsAcademy
@MonsterlessonsAcademy 11 ай бұрын
It is it's gruvbox.
@benchik100
@benchik100 2 ай бұрын
very nice!
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 ай бұрын
Thanks!
@bwustinbweem
@bwustinbweem Жыл бұрын
Use mobx for my job. I hated it at first but now I love it
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
It's a good a stable tool!
@seemapatil1225
@seemapatil1225 10 ай бұрын
short and nice video to understand thanks
@MonsterlessonsAcademy
@MonsterlessonsAcademy 10 ай бұрын
You are welcome
@giorgikiladze1151
@giorgikiladze1151 9 ай бұрын
thank you it was really helpful
@MonsterlessonsAcademy
@MonsterlessonsAcademy 9 ай бұрын
Glad it helped!
@TadeasF
@TadeasF 4 ай бұрын
viva la observers, comment for the algo! i remember that i saw your video when I was picking which state manager i'll start using. mobx won cuz i am not a software developer but a data engineer, so i maionly build hobby projects with teams that have no other choice than accept my opinionated tooling, hehe. but yeah, i wouldnt start a project with redux or touch it with a 10 foot pole with current state of mobx
@boycovclub
@boycovclub 2 жыл бұрын
Very good, thank you
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
Thank you too!
@naveed-h
@naveed-h 2 жыл бұрын
What is it exactly that redux can do and mobX can't? Can you give us an example? I don't understand the theocratical statement that redux is more flexible.
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
Redux immutable, Mobx not. Redux single state, Mobx not. Redux pure state, Mobx not. Redux updates tracked manually, Mobx not.
@naveed-h
@naveed-h 2 жыл бұрын
@@MonsterlessonsAcademy Thanks for the reply. But these are the design decisions made by the authors of the two libraries. What I want to know is if there is a use case where mobX fails but redux succeeds? Why is redux design choice better and what makes its verbosity and complexity worth it?
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
@@naveed-h It is not like one fails and other not. But this design decisions are important to why Redux is easier to scale/support even with Redux verbosity.
@MichaelScharf
@MichaelScharf Жыл бұрын
Why do you think redux is more scalable?
@ericsuzuki8966
@ericsuzuki8966 3 ай бұрын
@naveed-h My first impression with Redux was that it's tedious, but because Redux has a very opinionated structure, I'm guessing it's easier to collaborate on and less error-prone. (Redux code is more verbose and strict in its syntax and structure, therefore less open to interpretation and isn't subjected to each individual developer's preferences). It's scalable for teams for the same reason typescript is scalable, although typescript requires much more effort compared to JavaScript.
@piotrekjazz1287
@piotrekjazz1287 Жыл бұрын
Do you relly have to use a class inside the store instead of function as everywhere else?
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
Yes it is the mobx concept
@giorgikiladze1151
@giorgikiladze1151 9 ай бұрын
i actually have a quastion is it common to use mobX with next 13. I am asking because didnt find any tutorial in youtube and also in documentation
@MonsterlessonsAcademy
@MonsterlessonsAcademy 9 ай бұрын
Mobx is much less popular in compsrison to Redux. Nobody prevents you to use it in Next but most tutorial would use Redux.
@giorgiinjgia6401
@giorgiinjgia6401 Жыл бұрын
06:16 I didn't get why store re-creation renders the component
@toanta4838
@toanta4838 2 ай бұрын
because of setInputValue()
@sliceem88
@sliceem88 Жыл бұрын
Nice video! Can you compare Context vs MobX??
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
Context is low level do it yourself. Mobx is magic box and small amount of code. I prefer either context or redux.
@sliceem88
@sliceem88 Жыл бұрын
@@MonsterlessonsAcademy tnx, appreciate it. Perfect answer
@shableep
@shableep Жыл бұрын
@@MonsterlessonsAcademyCan you explain further why you prefer context and redux over MobX?
@justin.johnson
@justin.johnson 9 ай бұрын
​​@@shableepI'm not entirely sure either. Context re-renders the whole tree of one small child button needs to update. Unnecessary re-renders are bad
@user-kr6lp7rm5y
@user-kr6lp7rm5y 2 жыл бұрын
"Jotai" - more lightweight state lib base on proxy
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
Yeap
@manee427
@manee427 2 жыл бұрын
@@MonsterlessonsAcademy What do you personally prefer for project?
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
@@manee427 Redux
@manee427
@manee427 2 жыл бұрын
@@MonsterlessonsAcademy Thanks
@justin.johnson
@justin.johnson 9 ай бұрын
Mobx > Zustand > Jotai > Redux
@andTutin
@andTutin 2 жыл бұрын
I liked @ syntax
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
Yeap
MobX Tutorial with React and Typescript
35:53
CodeDunks
Рет қаралды 18 М.
Formik - Building React Forms easier
13:55
Monsterlessons Academy
Рет қаралды 10 М.
هذه الحلوى قد تقتلني 😱🍬
00:22
Cool Tool SHORTS Arabic
Рет қаралды 54 МЛН
Whoa
01:00
Justin Flom
Рет қаралды 45 МЛН
Picking From 20 React State Managers
35:18
Jack Herrington
Рет қаралды 84 М.
Jotai React - Better Global State Management
10:28
Monsterlessons Academy
Рет қаралды 22 М.
KMP vs. Flutter - Who Will Win The Cross-Platform Battle?
16:19
Philipp Lackner
Рет қаралды 44 М.
State Managers Are Making Your Code Worse In React
13:33
Web Dev Simplified
Рет қаралды 178 М.
MobX - Performance and Sanity - Adam Klein - AngularConnect 2017
22:21
AngularConnect
Рет қаралды 3,5 М.
Why Signals Are Better Than React Hooks
16:30
Web Dev Simplified
Рет қаралды 472 М.
React charts using Recharts and React ChartJS 2
14:49
Monsterlessons Academy
Рет қаралды 23 М.
MOBX ПРОТИВ REDUX | РАЗБИРАЕМСЯ ЧТО ЛУЧШЕ
35:24
Npx vs Npm - They Are Not the Same
5:43
Monsterlessons Academy
Рет қаралды 4,7 М.