Jotai React - Better Global State Management

  Рет қаралды 23,119

Monsterlessons Academy

Monsterlessons Academy

Күн бұрын

Learn Jotai React library which is a simple solution for sharing global state in React applications. It is a nice alternative to useState, React context and Redux.
► CHECK MY COURSES - monsterlessons...
FOLLOW ME
► TWITTER - / monster_lessons
REFERENCES
► Source code - github.com/mon...

Пікірлер: 49
@MonsterlessonsAcademy
@MonsterlessonsAcademy 20 күн бұрын
WATCH NEXT: React Interview Questions and Answers - Dominate Your Next Interview - kzbin.info/www/bejne/r4Kro2elpd-ShJIsi=51b2XP_84GH3q6oF
@MaxProgramming
@MaxProgramming Жыл бұрын
Jotai is so good I am now fully convinced it's the best!
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
I like it also!
@User1-f8h
@User1-f8h Жыл бұрын
How u learned it pls suggest
@MaxProgramming
@MaxProgramming Жыл бұрын
@@User1-f8h Through their documentation
Жыл бұрын
Thanks for the video, the library looks easy to be used.
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
It is!
@lakshmanshankar
@lakshmanshankar 8 ай бұрын
Really learn some valuable things about context and a useful statemanagers thank you for making such content
@MonsterlessonsAcademy
@MonsterlessonsAcademy 8 ай бұрын
Happy to hear that!
@Takatou__Yogiri
@Takatou__Yogiri 4 ай бұрын
it's so simple that it took me 120 second to learn. thank you.
@MonsterlessonsAcademy
@MonsterlessonsAcademy 4 ай бұрын
Glad it helped!
@simonss13
@simonss13 5 ай бұрын
Brilliant! Starting a new project and I think this is the combination I'll go with.
@MonsterlessonsAcademy
@MonsterlessonsAcademy 5 ай бұрын
Glad you like it!
@ranganaMIT
@ranganaMIT 2 ай бұрын
This was useful for a new project shift, Cheers Mate!
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 ай бұрын
Glad it helped!
@alizakeri-wn7in
@alizakeri-wn7in 3 ай бұрын
Simple and precise , lovely
@MonsterlessonsAcademy
@MonsterlessonsAcademy 3 ай бұрын
Thank you! 😊
@akbar-sm
@akbar-sm Жыл бұрын
i'm more interested in your IDE/text editor, so convenient for the intellisense and formatting. what IDE / text editor are you using? if you dont mind sharing with us
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
kzbin.info/www/bejne/oGfYooKsibekbKs kzbin.info/www/bejne/j6Ovmqidec12q80 kzbin.info/www/bejne/jpKXkoKFd5yLkNE
@iaamnew2060
@iaamnew2060 Жыл бұрын
would you say its worth it even for a professional programmer to use VIM? I've been programming for a long time now and I've seen people recommend vim but does it make me faster, compared to using VScode@@MonsterlessonsAcademy
@aliqureshi4194
@aliqureshi4194 Ай бұрын
React Context re-renders components that consume the context, but not all components. Please don't confuse things.
@MonsterlessonsAcademy
@MonsterlessonsAcademy Ай бұрын
Well, yes obviously. I though it is clear from the video.
@thelonesalt1473
@thelonesalt1473 Жыл бұрын
Quality video man, gained a new subscriber : )
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
Awesome, thank you!
@madehayoussof
@madehayoussof Жыл бұрын
Thanks, it's very useful for me
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
Glad it was helpful!
@sunny7268
@sunny7268 Жыл бұрын
Why it is better than Zustand?
@mzhomie8880
@mzhomie8880 Жыл бұрын
I would like to know that, too.
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
I never said that it's "better". Zustand is an alternative to Redux. Jotai is just a global client states which play super nicely with react-query to write minimum code.
@mzhomie8880
@mzhomie8880 Жыл бұрын
@@MonsterlessonsAcademy I can not understand. All libraries have the purpose of managing and accessing state across components. But thank you for your reply. When you start developing a large web app, e.g. Gimp for the browser, you don't just switch state libraries. That's why I'm careful with statements like "best" :D
@sunny7268
@sunny7268 Жыл бұрын
@@MonsterlessonsAcademy oh, sorry didn't meant to offend you, really like you vids. And Wow, you right I don't need the all huge package like Redux, and as far I get, Zustand maybe much neat, but still it is have it own ecosystem, and Jotai is actually what we wanted from the beginning of React lib. thank you very much, I will keep spreading you vids to my contacts.
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
@@mzhomie8880 Okay now I agree. "Better useState alternative" title would be better. Sure you should not just swap working state management in your huge app with some other lib if it works.
@anirudha4346
@anirudha4346 10 ай бұрын
I feel jotai is more readable than recoil
@MonsterlessonsAcademy
@MonsterlessonsAcademy 10 ай бұрын
Yeap
@SolidWorksMastery-hr4sg
@SolidWorksMastery-hr4sg Жыл бұрын
when to use redux toolkit and when to use jotai
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
I made a video about it kzbin.info/www/bejne/gWrXaaupfsRogK8
@028-manikandan3
@028-manikandan3 Жыл бұрын
Put more videos in angular
@87911
@87911 16 күн бұрын
Is this guy a terminator?
@MonsterlessonsAcademy
@MonsterlessonsAcademy 13 күн бұрын
Yes
@neiker234
@neiker234 Жыл бұрын
0:50 that's not true, only components listening for changes will be re-rendered
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
And all children inside them
@neiker234
@neiker234 Жыл бұрын
Do you mean all children inside the provider or inside the consumer(s)?
@Disorrder
@Disorrder Жыл бұрын
Making all these providers, consumers, reducers are very verbose and annoying, that's why I prefer to use MobX. But Jotai looks as great alternative!
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
Yeap. I like jotai also.
@andTutin
@andTutin Жыл бұрын
another library
@sunny7268
@sunny7268 Жыл бұрын
It is based on recoil, so I think it is deserve a little bit of respect than any simple lib there.
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
Also I don't make videos about "another library" but only the most popular libs or libs which solves problems nicely with good decisions.
Rebuilding Jotai State Manager for React in 20 Minutes!
20:25
Jack Herrington
Рет қаралды 32 М.
The Most Underrated State Management Tool in React
23:35
Cosden Solutions
Рет қаралды 18 М.
Spongebob ate Patrick 😱 #meme #spongebob #gmod
00:15
Mr. LoLo
Рет қаралды 12 МЛН
Minecraft Creeper Family is back! #minecraft #funny #memes
00:26
А ВЫ ЛЮБИТЕ ШКОЛУ?? #shorts
00:20
Паша Осадчий
Рет қаралды 8 МЛН
Zustand - Complete Tutorial
19:27
Cosden Solutions
Рет қаралды 88 М.
Angular Menu: A Step-by-Step Tutorial
21:23
Monsterlessons Academy
Рет қаралды 4,5 М.
State Managers Are Making Your Code Worse In React
13:33
Web Dev Simplified
Рет қаралды 185 М.
React Query Is (Still) Essential - My Favorite React Library
11:04
Theo - t3․gg
Рет қаралды 152 М.
Don't Use React Context!! Use This instead
13:34
CoderOne
Рет қаралды 28 М.
Zustand React State Management - Simpler Alternative to Redux
11:44
Monsterlessons Academy
Рет қаралды 14 М.
You might not need useEffect() ...
21:45
Academind
Рет қаралды 161 М.
.NET Framework vs .NET Core vs .NET vs .NET Standard vs C#
25:14
IAmTimCorey
Рет қаралды 554 М.
State Management for React: Jotai From Beginners to Masters
16:56
Jack Herrington
Рет қаралды 24 М.
Spongebob ate Patrick 😱 #meme #spongebob #gmod
00:15
Mr. LoLo
Рет қаралды 12 МЛН