I might have a new favorite state manager...

  Рет қаралды 12,288

Theo - t3․gg

Theo - t3․gg

Күн бұрын

Пікірлер: 93
@tinrab
@tinrab 4 сағат бұрын
Just one more state manager guys and all will be good.
@lovebes
@lovebes 4 сағат бұрын
bruh just one more state mamager bruh I promise bruh this is the last one bruh
@twisterrjl
@twisterrjl 3 сағат бұрын
just one more, c'mon
@ArcticPrimal
@ArcticPrimal 2 сағат бұрын
Just waiting for a state manager to become a framework similar to how react router became a framework
@ChiragAgg5k
@ChiragAgg5k 4 сағат бұрын
zustand is always gonna be my go to
@spicepirate
@spicepirate 4 сағат бұрын
me too 👍
@philheathslegalteam
@philheathslegalteam Сағат бұрын
Jotai
@FusionHyperion
@FusionHyperion 11 минут бұрын
Pinia is great for vue
@trappedcat3615
@trappedcat3615 4 сағат бұрын
Why don't we call state managers governors?
@johnlombardo
@johnlombardo 3 сағат бұрын
State Comptroller?
@Jenkkimie
@Jenkkimie Сағат бұрын
Mayors. Most countries don't have governors separately but every country has mayors.
@rahu1gg
@rahu1gg 4 сағат бұрын
For a 4 mins read blog post it took 22 mins youtube video
@ThinkleTink
@ThinkleTink 2 сағат бұрын
At this point I think he does it to ensure the ragebait posts and clicks
@witchmorrow
@witchmorrow Сағат бұрын
but that's a good thing, that's entirely the point - he's adding useful comments and pointers. If you don't find his commentary useful then why are you subscribed...
@ThinkleTink
@ThinkleTink Сағат бұрын
@@witchmorrow The format used to be shorter, now it feels like the viewer is being strung along just to always hit that 30 minute video mark or close to there.
@javierflores09
@javierflores09 37 минут бұрын
Brother just read the article if you don't like the commentary, because that's like the whole point of this channel
@ThinkleTink
@ThinkleTink 19 минут бұрын
@javierflores09 K
@guxit
@guxit Сағат бұрын
Valtio is an overlooked state manager that would simplify that agora zustand entanglement. People seem to avoid it because it's so simple. That's why I like it though.
@someDudeOnYtb
@someDudeOnYtb 30 минут бұрын
Recently discovered it working on a react native project and I think I will start using it in everything,react or vue or vanilla
@offlercrocgod
@offlercrocgod Сағат бұрын
As a few of the comments already mentioned just use signals, legend-state in React and the other frameworks have signals built-in
@Dimonina
@Dimonina 4 сағат бұрын
New store again... My opinion is not popular, but rxjs in angular has solved all of these store problems many years ago out of the box, but the only problem is that it is difficult to learn for the majority. However, React is a super popular framework, why just can't anyone figure out a versatile solution that just works, but still we have "store" and the functions to update it, but just different syntax. The approach remains the same. This is the biggest problem imo.
@menmikimen
@menmikimen 3 сағат бұрын
True, angular is really good in this regard. And now, for non-complex problems, it is possible to use signals instead. ❤
@tvujtatata
@tvujtatata 2 сағат бұрын
Better than being forced to used a single opinionated option or writing own. What have you done for the community?
@ivanmaglica264
@ivanmaglica264 2 сағат бұрын
I love injectable services in Angular
@adityaanuragi6916
@adityaanuragi6916 13 минут бұрын
I'm a React dev and am eager to learn Angular I just need to have discipline cuz I've heard its difficult at the start but lovely later
@abui6914
@abui6914 3 сағат бұрын
Trust me guys react is one state manager away from perfection
@oddfeeling7956
@oddfeeling7956 Сағат бұрын
I don't know why I find this funny
@rajikkali2381
@rajikkali2381 4 сағат бұрын
Pinia ❤
@aghileslounis
@aghileslounis 3 сағат бұрын
lol
@salva-dev
@salva-dev 4 сағат бұрын
Very interesting... Thanks. I will try it. You should also try nanostores, from Evil Martians, super lightweight and framework independent store.
@Infinitay
@Infinitay 3 сағат бұрын
Are state managers the new front end framework meta?
@jatiquep5543
@jatiquep5543 4 сағат бұрын
I will never leave zustand ❤❤❤
@ldlework
@ldlework 3 сағат бұрын
Zustand is the last state manager needed. Simple as.
@UliTroyo
@UliTroyo 4 сағат бұрын
Heck yeah! I ran into David K Piano's first talk about XState years ago while looking for state machine content. I use it with Svelte for heavy UI logic.
@guillemgarcia3630
@guillemgarcia3630 2 сағат бұрын
man all of this is so easy in solidjs, this vid makes me appreciate it even more
@luka1790
@luka1790 7 минут бұрын
This
@philheathslegalteam
@philheathslegalteam Сағат бұрын
FYI you can infer a key’s existence in the same object. Both Stiches and my library TW Classed rely on this. But it’s like you say HELLL to infer those types.
@ArcticPrimal
@ArcticPrimal Сағат бұрын
The author is right it's zustand with redux toolkit features to overcome zustand's shortcomings
@orlvni
@orlvni 4 сағат бұрын
react context + our own state machine for life
@buthow900
@buthow900 2 минут бұрын
Have you seen ombistac zedux?
@markosunbro2732
@markosunbro2732 3 сағат бұрын
They will do everything to not use signals )))
@termorey
@termorey 4 сағат бұрын
Effector (and ecosystem) is the best for me in most cases
@alec-dora
@alec-dora 2 сағат бұрын
Which mac are you using?
@St0rMsk
@St0rMsk 2 сағат бұрын
That Leo meme from once upon a tim e a hollywood, poining on a TV and titled: Tha'ts PINIA, that's pinia for React
@toutpt
@toutpt 3 сағат бұрын
I believe it is easy to implement an event driven state mngt based on the Dom 😅 I don t say it should be like this but it just work.
@ronny584
@ronny584 3 сағат бұрын
Theo has bless us with a 23 minutes video and not 3hrs, thank goog.
@kennyPAGC
@kennyPAGC 2 сағат бұрын
As a django dev who embraced nojs philosophy years ago I am SO happy when I see videos like this.
@StephanHoyer
@StephanHoyer Сағат бұрын
Again a problem you would not have if you would not diff a change twice in react. Just drop setState and redraw the whole thing.
@FusionHyperion
@FusionHyperion 7 минут бұрын
TLDR: Basically Pinia
@returnZeroo
@returnZeroo 2 сағат бұрын
I will stay with jotai
@lonewolf36s
@lonewolf36s 4 сағат бұрын
pretty much everything i have is in redux. So many slices... Maybe in future on a new project i'd try this. It looks REALLY clean.
@notarealperson9709
@notarealperson9709 18 минут бұрын
Hypermedia as the engine of application state (HATEOAS)
@Ked_gaming
@Ked_gaming 36 минут бұрын
99% of the time you dont need a store, dont thank me
@frusen_sol
@frusen_sol 23 минут бұрын
*preact-signals* my favorite one
@ArcticPrimal
@ArcticPrimal 2 сағат бұрын
Just waiting for a state manager to become a js framework similar to how react router
@snowofice
@snowofice Сағат бұрын
Zustand sounds German (translates to status) and as such you should propably pronounce it more like tsustant.
@nathanaelbennett8286
@nathanaelbennett8286 4 сағат бұрын
state management considered harmful
@alihassn4112
@alihassn4112 2 сағат бұрын
WTF, every day there's a new state manager? What a crap to be a JS developer, long live Laravel!
@twilightdev
@twilightdev 4 сағат бұрын
stores popping out more often than js frameworks (well technically they are js frameworks too but still)
@rickdg
@rickdg 2 сағат бұрын
reset the counter
@arpitbharti6245
@arpitbharti6245 2 сағат бұрын
nope zustand has all these features
@MirkoVukusic
@MirkoVukusic 3 сағат бұрын
I'm on Legend State and don't see a reason o change
@lqhuy
@lqhuy 2 сағат бұрын
Look at Legend State
@johnlombardo
@johnlombardo 3 сағат бұрын
I usually enjoy your videos as a background task but this had my full attention. Saved to watch again 👍🏼
@nChauhan91
@nChauhan91 5 сағат бұрын
Been using it for 3 years in a project, it's good for things but I wouldn't recommend it for general state management
@graficandorealidades7561
@graficandorealidades7561 5 сағат бұрын
Thanks, you saved me 22 minutes of my life
@t3dotgg
@t3dotgg 4 сағат бұрын
xstate-store is not 3 years old and is very different from traditional xstate
@nChauhan91
@nChauhan91 4 сағат бұрын
@@t3dotgg my bad, I thought this was just xState library that David created.
@jatiquep5543
@jatiquep5543 4 сағат бұрын
​@@t3dotgg he should have called it another name as a new library
@johnlombardo
@johnlombardo 3 сағат бұрын
@@jatiquep5543 What, like XStore? Or my suggestion, Store Manager For People That Like How XState Works.
@KopoLPedov
@KopoLPedov 4 сағат бұрын
reatom is the best, but not hyped
@jotaroisdarius1918
@jotaroisdarius1918 4 сағат бұрын
DAMN IT THEO, IT'S TSOO-shtahnt NOT ZASTEND cool video tho 👍
@random-i2s
@random-i2s Сағат бұрын
Why is the FE world like this? Why do we need a new framework, state manager, editor, runtime, additional languages on top with build steps nonsense every single day? In the backend world languages has left these trivialities behind and for example go, c#, php, java communities are not into this at all . They focus on the things that matter which means we have a stable environment with mature tooling
@zenpool
@zenpool Сағат бұрын
if it looks like zustand why bother 🤷🏼
@fazamaza801
@fazamaza801 2 сағат бұрын
Guys just literally reinvent redux toolkit, LMAO
@ArianvanPutten
@ArianvanPutten Сағат бұрын
Please don't pronounce Zustand like that it hurts my soul The u is pronounced as o in the word "zoo" The Z is pronounced as "ts" Ts oo stand
@alexey9796
@alexey9796 50 минут бұрын
nah
@alek282
@alek282 5 сағат бұрын
First, go Theo
@mindblower113
@mindblower113 2 сағат бұрын
I really liked Redux Toolkit.
@diadetediotedio6918
@diadetediotedio6918 Сағат бұрын
Would not it be clearer in react if you just made an utility, like: function effect({ deps, run, cleanup }: { deps: any[], run: () -> void, cleanup: () -> void }) { useEffect(() => { run(); return cleanup; }, deps); } that you can then use like this: effect({ deps: [slug], run: () => { ... }, cleanup: () => { ... } }) I feel like at least some of the problems with useEffect is that it is too much quirky to use, so wrapping it maybe provide some benefits.
@requindr
@requindr 48 минут бұрын
I feel like you shouldn’t do a wrapper that doesn’t provide benefits, at best it will only confuse other devs
@diadetediotedio6918
@diadetediotedio6918 4 минут бұрын
@@requindr My whole point is that it does provide benefits (semantic ones), lol. And if someone gets confused by this I don't think this person is a programmer, those are literally plain english words with well defined meanings in react, I'm not presenting a theorem proof in modal logic.
This magic hack makes Next.js possible
28:02
Theo - t3․gg
Рет қаралды 36 М.
PirateSoftware is right, this needs to stop
15:14
Theo - t3․gg
Рет қаралды 301 М.
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
How did we get here?
1:26:00
Theo - t3․gg
Рет қаралды 37 М.
What Happened to the World's Largest Tube TV?
35:46
Shank Mods
Рет қаралды 491 М.
Astro stole my favorite parts of Next (and I'm hyped)
32:30
Theo - t3․gg
Рет қаралды 42 М.
'The Cloud Fugitive' | David Heinemeier Hansson | NTK # 001
19:54
DARK MATTER +
Рет қаралды 14 М.
This new Tailwind feature is scarier than I thought
29:13
Theo - t3․gg
Рет қаралды 52 М.
BREAKING: OpenAI's new O3 model changes everything
12:11
Theo - t3․gg
Рет қаралды 157 М.
React Router V7 just dropped, here's why you should care
29:11
Theo - t3․gg
Рет қаралды 40 М.
Oh No... My Mom Needs a Tablet - Budget Tablet Roundup
14:56
Linus Tech Tips
Рет қаралды 667 М.
Prisma is removing Rust?
21:48
Theo - t3․gg
Рет қаралды 59 М.
Unintuitive behaviors of React Hooks
16:26
Theo - t3․gg
Рет қаралды 25 М.
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН