Тёмный

How React 19 Almost Broke The Web 

Theo - t3․gg
Подписаться 338 тыс.
Просмотров 118 тыс.
50% 1

As always, I am thankful to the React team for listening. This could have been bad. Suspense is complex, I'm happy it isn't about to break existing apps.
STARTING POINT (also follow tkdodo)
x.com/TkDodo/s...
Core blog post
tkdodo.eu/blog...
Check out my Twitch, Twitter, Discord more at t3.gg
S/O Ph4seon3 for the awesome edit 🙏

Опубликовано:

 

28 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 303   
@rafaelarantes4804
@rafaelarantes4804 3 месяца назад
mode: "parallel" | "waterfall"
@some1and297
@some1and297 3 месяца назад
100%, also having parallel be the default to not break api.
@prosto1076
@prosto1076 3 месяца назад
"popcorn" | "waterfall"
@IStMl
@IStMl Месяц назад
That is too outrageously obvious for the React team. Get out of here.
@SeanCassiere
@SeanCassiere 3 месяца назад
From the library side of things, the fact that React does not ship its own typescript types bundled toghether during installation makes things so much harder. It makes it so that the installation/upgrades need to be orchestrated with the "overrides" field in the package.json (to match the types package) is something that makes it much more of a chore (especially making sure you have the right version of the types installed 😮‍💨). I understand from the outside some may see it as "oh, you guys should know to do this..." or "common! it can't be that hard!". But given that we are already swamped, this extra burden is something that's most of the time just not worth the hassle. Please ship your own typescript types!
@aberba
@aberba 3 месяца назад
They didn't use Ts in react last time I check
@d3stinYwOw
@d3stinYwOw 3 месяца назад
>Open source project >Discord Every single damn time. Use discourse or something similar, don't hide behind discord walls.
@tangentfox4677
@tangentfox4677 2 месяца назад
This, but for everything. I've already lost an uncountable amount of useful data because it was only ever on a deleted discord... not to mention friends and conversations lost.
@alaskann
@alaskann 12 дней назад
Interesting, what do you mean exactly? A project gets open sourced and then immediately support goes to Discord?
@d3stinYwOw
@d3stinYwOw 12 дней назад
@@alaskann In that vein, yes. In general usage of closed walls behind login and/or without possibility to have publicly available chat log, like Discord, is bad for information preservation, to say the least.
@wlockuz4467
@wlockuz4467 3 месяца назад
Just an unopinionated javascript library. Nothing to see here.
@doyouwantsli9680
@doyouwantsli9680 3 месяца назад
A framework/library being unoptimized? What a surprise
@JJCUBER
@JJCUBER 3 месяца назад
They said unopinionated, not unoptimized.
@devagr
@devagr 3 месяца назад
Congrats to Phase on managing to get this chaotic recording into an actual video
@t3dotgg
@t3dotgg 3 месяца назад
For real
@GratuityMedia
@GratuityMedia 3 месяца назад
🪄 Thank you! It seemed crazy on stream but was a lot of fun to edit down.
@polyneuroparty
@polyneuroparty 3 месяца назад
This was actually my thoughts
@ciarancurley5482
@ciarancurley5482 3 месяца назад
Og stream was like 3 hours I think lol with all the live coding
@doc8527
@doc8527 3 месяца назад
Nowadays, I still use the old "{ loaded ? : }" to fully control all the data fetching behaviors. even naivest person in the team can understand what it does. instead of guessing the "". I know it's verbose, but serious question though: is there any speed, performance, render improvement, or edge case where is good for? I only care about performance improvement, hence if the can bring a better UX to the end user. My own DX is less matter in this case.
@naughtiousmaximus7853
@naughtiousmaximus7853 3 месяца назад
Your solution is 10 times better. I hate clever solutions, give me simple stuff that you can easily reason about.
@kenjimiwa3739
@kenjimiwa3739 3 месяца назад
✋ I do this too. No issue!
@josevsebastian2909
@josevsebastian2909 3 месяца назад
Technically loading state is the only stable solution in React 18. Suspend on promise was never stable in 18.
@njgroene
@njgroene 3 месяца назад
Also on team loading state!
@paw565
@paw565 3 месяца назад
Goat comment ❤
@thirdvect0r
@thirdvect0r 3 месяца назад
I'm so glad I'm not working in React anymore.
@emmanuelezeagwula7436
@emmanuelezeagwula7436 3 месяца назад
what do you use ?
@fatihtoprakkale4174
@fatihtoprakkale4174 3 месяца назад
@@emmanuelezeagwula7436 real men use Vue 3/Nuxt 3
@kkebo
@kkebo 3 месяца назад
@@emmanuelezeagwula7436 probably jquery or php, or MUH vanilla js
@jaycejones2622
@jaycejones2622 3 месяца назад
@@emmanuelezeagwula7436 i moved to svelte 5 a couple months ago, its been great. so much less thought put in to renders, it just works.
@ChichaGad
@ChichaGad 3 месяца назад
​@@emmanuelezeagwula7436 Solid JS or Svelte Just anything but React
@LewisMoten
@LewisMoten 3 месяца назад
This is a nightmare. I’d prefer that they left it as the old way and introduce an attribute to change the loading behavior.
@ssjarchon
@ssjarchon 3 месяца назад
This is a trash change. If your component is slow to render, you almost certainly abstracted that computation away into a use effect or similar hook - so the thing they are optimizing for is something that the developer should have addressed. Making this force a waterfall execution is optimizing for bad behavior and a major code smell
@hunterxg
@hunterxg 3 месяца назад
Watch the video again. The change is made for use cases when fetches are optimized, which is the case at Meta
@lalit5408
@lalit5408 3 месяца назад
Wait.... how are you doing rendering heavy (CPU bound) work in a useEffect?
@doyouwantsli9680
@doyouwantsli9680 3 месяца назад
If they gave a crap they wouldnt use react anyway
@MaxPicAxe
@MaxPicAxe 3 месяца назад
23:22 "What we should do instead is immediately unwind the stack as soon as something suspends, to unblock to loading state." I agree the stack should be unwound instantly, but not by forcibly unwinding it with the new waterfall mechanism, but rather it should be naturally unwound by programmers taking care to offload any heavy work off the main thread. Can't be hackishly fixing main thread sluggishness by introducing this type of solution. This is just the first thought that has come to mind, willing to be convinced otherwise.
@BarryMichaelDoyle
@BarryMichaelDoyle 3 месяца назад
Ah I was at React Summit :D Was excited to see you there but then saw you were remote. I'm sure my company will send me off to the US on in 2025 though, so always next time :)
@kakterius
@kakterius 3 месяца назад
Zustand is German for State as in Status it's pronounced tsoo shtunt
@elijahbuscho7715
@elijahbuscho7715 3 месяца назад
I would say it's more like shtant, with a long 'a' like in the solfege Fa.
@Labib2003
@Labib2003 3 месяца назад
like zoo stunt?
@ivan.jeremic
@ivan.jeremic 3 месяца назад
who asked?
@carnivores6823
@carnivores6823 3 месяца назад
Me ​@@ivan.jeremic
@elijahbuscho7715
@elijahbuscho7715 3 месяца назад
@@ivan.jeremic it seems like a pretty appropriate comment to me, given that, in the video, Theo made a comment about his potentially dubious pronunciation of the word. It seems sensible to document, for anyone curious, the actual origin, meaning, and pronunciation of the word.
@himankshu
@himankshu 3 месяца назад
I have moved to solidjs and i love it
@naughtiousmaximus7853
@naughtiousmaximus7853 3 месяца назад
No jobs for Solid tho :/
@ChichaGad
@ChichaGad 3 месяца назад
Solid JS is the future I have to say I moved to it almost 2 months ago and so far I love it I ported one of my major projects (built with NextJS) to it in 3 weeks and man the performance is now light years ahead from what was made with React!
@everythingisfine9988
@everythingisfine9988 3 месяца назад
Solid or Sveltekit are fantastic. But yeah, the job market 🤷‍♀️
@LightTheMars
@LightTheMars 3 месяца назад
Why not make it an option for Suspense?
@vnshngpnt
@vnshngpnt 3 месяца назад
React team knows better what you should use without any options☝️🤓
@laubannenberg5446
@laubannenberg5446 3 месяца назад
Really good video. I don't really know much about React but still accessible and interesting. It reminds me of the back and forth that was happening in Laravel over lazy loading models through their relations with other models, which from a performance viewpoint is awful, but it's really convenient. It has the same trade-off between trying to foresee in advance which data you'll need and should preload. This might be a case of the "No Free Lunch" theorem ( en.wikipedia.org/wiki/No_free_lunch_theorem ), where it's not possible to have one implementation that's the best for all use cases.
@yiannis_p
@yiannis_p 3 месяца назад
That’s why react won, the people behind it and around it are just superb and they have made a fantastic community. Thanks for the video, having watched your streams I can imagine how long this took to film and edit!
@KetaFPV
@KetaFPV 3 месяца назад
Watching this live was a journey
@pinatacolada7986
@pinatacolada7986 3 месяца назад
I think Solid JS solved this a few years ago.
@devinlauderdale9635
@devinlauderdale9635 3 месяца назад
another theo video reading an article LET'S GOOOOOOOOOOOOO
@t3dotgg
@t3dotgg 3 месяца назад
This is so far from an article read lol I filmed for 3 hours and live coded like 6 demos.
@modellking
@modellking 3 месяца назад
Honestly, I'm with the react team on this... Because the specific fetchs are so tightly coupled with how a specific componentvworks only its dev can decide what to fetch. Manually hoisting those to prefetch seems semantic. But itd be nice if they could figure that parallel rendering/not re-rendering siblings out
@gabrielbianchi2246
@gabrielbianchi2246 3 месяца назад
Theo, do a video on full history of suspense. Probably after React 19 is released
@tomathepolliwog
@tomathepolliwog 3 месяца назад
Can you please cover golang trying to remove the ability to use linkname and providing zero alternative for developers?
@PaulSebastianM
@PaulSebastianM 3 месяца назад
React in my eyes is no longer the prime example of innovative design that saved the web.
@AK-vx4dy
@AK-vx4dy 3 месяца назад
I know nothing about React but I always thought that data only flow top down, so what is a reason to refetch and even rerender all components in suspense?
@cerulity32k
@cerulity32k 3 месяца назад
Y'know what? All I need is sass and tsc. Why should I use a JavaScript framework??
@gageracer
@gageracer 3 месяца назад
While it's an interesting topic, I could watch only first half as I realized I was getting sleepy with the same point rephrased 25 times. Maybe because it's from the stream and not a written youtube vid effect but oh well.
@zweitekonto9654
@zweitekonto9654 3 месяца назад
It's called "milking content" when you have nothing better to talk about.
@spoonikle
@spoonikle 3 месяца назад
HTMX and a templating language.
@turbulantarchitect5286
@turbulantarchitect5286 3 месяца назад
Some people are like - oh my god! Let's cancel react. It's useless. React 19 is in beta to get to know issues like these right? Am I missing something? And as shown in thumbnail, react apologized on x I guess.
@fcnealvillangca7943
@fcnealvillangca7943 3 месяца назад
I'm glad im on svelte kit now
@LynnUNSW
@LynnUNSW 3 месяца назад
3 api calls seems just wrong from start.
@wojciechorzechowski2211
@wojciechorzechowski2211 3 месяца назад
This just shows that JS is crap and the web should move to something ACTUALLY performant...
@cerulity32k
@cerulity32k 3 месяца назад
WASM needs more attention.
@ahmedn.4085
@ahmedn.4085 3 месяца назад
Can I laugh in remix?
@AROAH
@AROAH 3 месяца назад
Not relevant to the purpose of the video, but that KidSuper dude has a really cool website and unbelievably overpriced clothes
@Jankoekepannekoek
@Jankoekepannekoek 3 месяца назад
So when will the world realise React is unstable and not suiteable for use in applications with a long lifetime?
@kamalkamals
@kamalkamals 3 месяца назад
broke reactjs app not web
@iefan
@iefan 3 месяца назад
1 min, 28 views. Bro fell off 💀
@ralphard
@ralphard 3 месяца назад
Hate these comments now
@musashi542
@musashi542 3 месяца назад
@@ralphard zoomers .
@derek123wil0
@derek123wil0 3 месяца назад
bro is watching tech youtube but doesnt know the tech of youtube... views have always been slow to update. Often times a new video will have more likes than views.
@LuKaSSthEBosS
@LuKaSSthEBosS 3 месяца назад
wake up babe, another react leaky abstraction just dropped
@naughtiousmaximus7853
@naughtiousmaximus7853 3 месяца назад
lmaoooooooooo
@nonefvnfvnjnjnjevjenjvonej3384
@nonefvnfvnjnjnjevjenjvonej3384 3 месяца назад
react had the best api when it launched. with react.createclass. it is all downhill since then.
@ReedoTV
@ReedoTV 3 месяца назад
Imagine getting to upgrade to the current version of a framework 😱
@everythingpony
@everythingpony 3 месяца назад
Right?
@NicoRTM
@NicoRTM 3 месяца назад
I'm glad that react is not a framework wink wink
@PhilipAlexanderHassialis
@PhilipAlexanderHassialis 3 месяца назад
Imagine something that is used by hundreds of thousands of developers for a myriad different application cases STILL BEING FASHIONED AFTER WHAT'S BEST FOR EFFIN' META. Seriously, the community must yank the whole thing and ECMA/ANSI the hell out of it. It's too dangerous to be stewarded by the META/VERCEL people anymore.
@svenmify
@svenmify 3 месяца назад
@@PhilipAlexanderHassialissimple, just fork, improve and maintain it
@elvispalace
@elvispalace 3 месяца назад
​@@svenmify exactly
@JeeGurda
@JeeGurda 3 месяца назад
It's actually interesting how React team managed to miss on this, since there are select few libraries that are even able to work with Suspense. The fact that their tests didn't include react-query is pretty funny
@hunterxg
@hunterxg 3 месяца назад
Meta doesn't use react query internally. Everything is using Relay which precompile all the data dependencies and preloads it.
@Steel0079
@Steel0079 3 месяца назад
What's testing?
@gerkim3046
@gerkim3046 3 месяца назад
@@hunterxg am sure meta knows that it is not okay if react works for them but breaks for all other devs, right?
@zweitekonto9654
@zweitekonto9654 3 месяца назад
​@gerkim3046 why? They built it for themselves anyway.
@Steel0079
@Steel0079 3 месяца назад
@@zweitekonto9654 that's not true. They have stake in others using it.
@JTsek
@JTsek 3 месяца назад
"Second Act: The Suspense Builds"
@BobKane-g6x
@BobKane-g6x 3 месяца назад
Wow.. so much stuff going on just to produce HTML. :)
@AyoubNachat-wm4no
@AyoubNachat-wm4no 3 месяца назад
i really now just using a server (Hono or express) + ejs template engine and Alpinejs for interactivity
@adreto2978
@adreto2978 3 месяца назад
t. no coder or only coded todo list on web
@krisvanhouten1543
@krisvanhouten1543 3 месяца назад
index.html solves this.
@patrickaikonia853
@patrickaikonia853 3 месяца назад
Hopefully being sarcastic here.
@GPT-X938
@GPT-X938 3 месяца назад
Have you seen all the ways we can produce CSS? 😂
@Teleportcamera
@Teleportcamera 3 месяца назад
You still use Twitter 🤮
@collinoly
@collinoly 3 месяца назад
If you have a slow component shouldn’t you memoize it? Seems like we have a pattern to handle that situation already. Also why not just create a second component. Keep suspense the same and create another version that blocks.
@alaskann
@alaskann 12 дней назад
How does memoization help here
@brewzonekeeone5724
@brewzonekeeone5724 3 месяца назад
Egregiously over-engineered.
@jonnyeh
@jonnyeh 3 месяца назад
Why do you make fake tweets for your thumbnails? It's basically clickbait and you should stop.
@minidragonlady
@minidragonlady 3 месяца назад
Agree, I hate these guys too. But social media platforms have always been about clickbaits and will aways be that. Can't change them. Ask MrBeast, he knows best :)))
@n8style
@n8style 3 месяца назад
I just spent an hour watching a dude read a blog and a bunch of tweets lol
@Александр-ч4п5ъ
@Александр-ч4п5ъ 3 месяца назад
fr
@comosaycomosah
@comosaycomosah 3 месяца назад
Lol yeaaaa only some of these are good.....more are bad than good imo but there are some great insights still.....sometimes
@codeChuck
@codeChuck 3 месяца назад
It is not ok for components to trigger a rerender of previous ones. Suspense should not waterwater, otherwise it is useless. They should keep fetching all at once, but find solution to do not rerender components with previously fired promises.
@Satook
@Satook 3 месяца назад
If they want to change the semantics, they should introduce a new name for it and not change the existing primitive. They can deprecate the old name and give people time to adjust or have the old behaviour via a plugin for devs/teams that want/need it. Even though it's a major version bump, changing the behaviour of a freqently used primitive underneith people is an awful move.
@patrickaikonia853
@patrickaikonia853 3 месяца назад
Why not just wrap each component in its own suspense boundary though. The way I tend to think of it is a component that does its own data fetching should probably be its own page. Its okay for a component to do a mutation though since in that case are are re-rendering everything anyway
@Xemmness
@Xemmness 3 месяца назад
They want everything to pop out at once i guess, which means every component should be a child under suspense, if not, it will cause the popcorn ui problem which means unpredictable CLS order
@Cmacu
@Cmacu 3 месяца назад
Avoiding popcorn UI in favor of presumably skeletons that renders into an explosion of something barely related
@patrickaikonia853
@patrickaikonia853 3 месяца назад
Anyway like Theo once said, some of these things need careful consideration in the context of one's Application, and not just the documentation
@pyquix8576
@pyquix8576 3 месяца назад
Theo, NextJs, TS ruined React. This guy is stressful to watch. Did everything unsubbed, not interested, don't recommend channel, and still popping up on my feed! Why youtube!?
@Niksorus
@Niksorus 3 месяца назад
Suspense was never announced stable for data fetching. Here is what happens when you jump on a hype train too soon :( "Suspense-enabled data fetching without the use of an opinionated framework is not yet supported. The requirements for implementing a Suspense-enabled data source are unstable and undocumented. An official API for integrating data sources with Suspense will be released in a future version of React."
@jameslouizbuilds
@jameslouizbuilds 3 месяца назад
Move fast and break things
@mentoriii3475
@mentoriii3475 3 месяца назад
They are focused so much on promoting nextjs
@lightning_11
@lightning_11 Месяц назад
I like comparing the React team's response to CrowdStrike's response. Both of them messed up, but one response was _significantly_ better!!
@ChichaGad
@ChichaGad 3 месяца назад
Solid JS is the future, PERIOD!
@ChichaGad
@ChichaGad 3 месяца назад
Shoutout to Svelte as well
@everythingisfine9988
@everythingisfine9988 3 месяца назад
Both are quality ✌️
@DmitriiBaranov-ib3kf
@DmitriiBaranov-ib3kf 3 месяца назад
Vue
@ChichaGad
@ChichaGad 2 месяца назад
​@@everythingisfine9988 Yep, never been happier with migrating all of my projects (main projects and side projects) to SolidStart React has become pure cancer over the years, and tho NextJS was supposed to make React less painful for the devs but Next itself has turned into yet another tumor lmfao And to all the React fanboys out there saying "bUT yOu hAvE sKiLlL iSsUes": I've been using React ever since 2015 and NextJS since mid-2021, I know all the ins and outs of the React ecosystem and it's by far the most chaotic thing from a DX point of view
@ChichaGad
@ChichaGad 2 месяца назад
@@DmitriiBaranov-ib3kf Tbh I haven't used Vue or its meta framework Nuxt yet, but I'm sure you're definitely right I mean... Hell! At this point even JQuery is much more efficient than React lmao
@WiseWeeabo
@WiseWeeabo 3 месяца назад
solution: get out of web and go into application space
@meka4996
@meka4996 3 месяца назад
React is a joke... I am moving to SolidJs...
@himankshu
@himankshu 3 месяца назад
Mee too
@alexsmart2612
@alexsmart2612 3 месяца назад
You frontend guys need the love of Jesus in your lives.
@madlep
@madlep 3 месяца назад
Everyone: Don’t go chasing waterfalls. Please stick to the rivers and the lakes that you’re used to. React team: Hold my beer…
@codeChuck
@codeChuck 3 месяца назад
This is so frustrating :) First you get this shiny promise about suspense being good for rendering async stuff, and then they say that they remove it. What is the point? To create more buzz around the library?
@beaticulous
@beaticulous 3 месяца назад
Inability to stay on course and living reactively can be a sign of depression. Depressed libraries concentrate on immediate at hand problems, because their programmers are in a stressful state and they cannot focus on long term goals.
@hakuna_matata_hakuna
@hakuna_matata_hakuna 3 месяца назад
my brother here will spin everything even sebastian's arrogant tweet as a good thing , lol solid better
@daltongomeslobato7329
@daltongomeslobato7329 3 месяца назад
Thank god i work with Svelte
@gametec_live
@gametec_live 3 месяца назад
...how did i just watch a 55min video on react suspense... I dont even use react...
@kenjimiwa3739
@kenjimiwa3739 3 месяца назад
I typically use React-query and render the loading / error states in the component. What I don’t understand about Suspense is why would you want to couple loading states for multiple components into one? Ie. if data is ready for one component just render it. Isn’t that a better UX? Why wait for *all* child components to finish fetching before rendering them all at the same time?
@gsgregory2022
@gsgregory2022 3 месяца назад
Two of the big issues that caused this seem to be that they failed to understand the use case, and did not note that the change was a breaking change to previous behavior. The response to feedback though is one of the best examples of properly handling things I've seen in awhile.
@Caldaron
@Caldaron 3 месяца назад
can't they just put every child of a suspense(Or every other parent component for that matter) in a promise wrapper so that they're forced to run fetching/rendering in parallel and wait for a Promise.all(Settled)?
@asagiai4965
@asagiai4965 3 месяца назад
At this point those client will sigh "this suspense is killing me"
@sc76399
@sc76399 18 дней назад
I mean the whole way suspense works is why I've never liked it. Throwing to signify is still async fetching just is not what a throw is for (correct me if I'm wing about this). I know they need to use javascript primitives under the hood so I see why just never liked or used this way only for code splitting
@szirsp
@szirsp 3 месяца назад
I'm not a web developer, I don't understand why would you need to render anything at all until all the components in the suspense boundary got their data back? This parallel to sequential change just seem like the wrong "solution" to the problem. Isn't not rendering the components until everything is ready the whole purpose of this suspense?! So Why is it rendered/rum multiple times? With multiple rendering passes you turned on O(N) problem to O(N^2)... that doesn't seem wise to me...
@Theepicfrenchguy
@Theepicfrenchguy 3 месяца назад
Thanks for covering this topic, as a daily R3F user, it's terryfying.
@cyrus01337
@cyrus01337 2 месяца назад
Each day we stray further from simplicity. I remember when I picked up React because I wanted dynamic content, I now realise after observing other frameworks that React is probably the most verbose framework out there to solve this task, and now they're adding more behaviour that gives you more mental overhead when considering project design. This could be a skill issue on my part, and I've loved the concept of keeping everything in one file, but ever since server components I feel like the complexity of these files only seem to grow as more things are introduced, leading to more things to consider. Is it getting out of hand yet? Has it always been so out of hand? Seeing this now, I feel so out of touch. Time to look for simpler solutions.
@BellCube
@BellCube 3 месяца назад
Both of these implementations suck. The solution is to only render each component once, Promise.all() style. Solves both concerns (parrelism and CPU) with no visible drawbacks. Don't do the same work twice and always do the work as soon as you feasibly can.
@MotorZobop
@MotorZobop 2 месяца назад
Maybe I'm naive, but couldn't Suspense just render everything inside hidden elements (or some equivalent in the virtual DOM) and then unhide them as they become available? Then it wouldn't need to discard any renders and you'd get optimal performance.
@2xsaiko
@2xsaiko 2 месяца назад
Maybe I'm not web-brained enough for this but both of these seem unreasonably inefficient. Why doesn't first fetch the data for each element inside, asynchronously, without progress in one element re-rendering the others, and then when all are ready, renders the whole hierarchy in one step? That way you don't get the insane constant re-rendering of the React 18 implementation, and don't get the slowness of the React 19 implementation.
@aalvarez2914
@aalvarez2914 2 месяца назад
You are an extremely intelligent person. Not always right, but scary smart making me realize being lazy and entitled is not an option. You’re more talented and knowledgeable than me in many ways. So Thank you for doing this and helping some of us keep up!
@doyouwantsli9680
@doyouwantsli9680 3 месяца назад
If you cared about things like cpu usage and ease of development you wouldnt use react anyway, so who cares? React exists to give you more work to do, so you can have a job.
@Frostbytedigital
@Frostbytedigital 3 месяца назад
Solid is the answer
@ChichaGad
@ChichaGad 3 месяца назад
SolidStart and SvelteKit are the answers Although I'd always go with SolidStart
@kahnfatman
@kahnfatman 3 месяца назад
Frontend hell -- the d***thing get overtly complicated for no good reason. No wonder people get sick, tired and frustrated doing Frontend.
@gr-lf9ul
@gr-lf9ul 2 месяца назад
I don't get why it can't be parallel and without re-rendering. And if re-rendering is a must, at least do it once after the last thing loaded, not after each of them loads.
@jackmcpickle
@jackmcpickle 3 месяца назад
Thanks for all your work on this @Theo - much appreciated.
@hqcart1
@hqcart1 3 месяца назад
no wonder... that's why facebook freeze my laptop, react suck rerendering each component!
@3pleFly
@3pleFly Месяц назад
I feel like you're missing use deferred query, which solves the roller coaster problem
@ws_stelzi79
@ws_stelzi79 3 месяца назад
Well, every programming language has its framework developers it deserves! 🙄🥳
@bttobi123
@bttobi123 3 месяца назад
Whats the vs code theme?
@jordanbrennan1296
@jordanbrennan1296 3 месяца назад
This is an inevitable situation when you ignore the native capabilities of the web platform and hand it all over to abstractions you don’t own. The Promise API and some very simple patterns makes all this hand-wringing go away. We need to stop injecting so much magic into our projects and go back to good engineering principles.
@RyanLynch1
@RyanLynch1 3 месяца назад
learning about react makes me very happy I'm not working in this world of CS. like it's all very odd abstractions and i often don't understand why they make such odd decisions
@aymenbachiri-yh2hd
@aymenbachiri-yh2hd 3 дня назад
Thanks theo for this valuable infos
@cerulity32k
@cerulity32k 3 месяца назад
hear me out, what if you didn't use a framework
@chepossofare
@chepossofare 3 месяца назад
I'm sincerely tired of all this JS abstractions. Sincerely. I don't want to deal with FE anymore in my life.
@happykill123
@happykill123 3 месяца назад
Thankfully, my code is already garbage enough to use one large query on top-level which passes all data down.
@roebucksruin
@roebucksruin 2 месяца назад
Anyone want to explain the problem here to a junior?
@ashbjorn
@ashbjorn 3 месяца назад
When you announced the different acts, I couldn't help but hear the Law&Order "TUNNDUNN" sound in my head xD
@dahahaka
@dahahaka 3 месяца назад
why isn't there just some "prerender" hook on components that can be used for the prerendering instead of actually rendering the whole component and throwing it away xD
@Cmacu
@Cmacu 3 месяца назад
Kicking you down the well: This is Reaaaact!!!
@dahahaka
@dahahaka 3 месяца назад
@@Cmacu I don't get it xD can you explain?
@Cmacu
@Cmacu 3 месяца назад
@@dahahaka it’s reference to the movie 300 where the Spartans take pride and glory over what’s a decent proposal to make things work and solve an issue. Basically the react way of doing things is self contained functions with minimal external and internal bindings and the React team will die on this hill even after the rest of the world has discovered better solutions. This is Reaaccctttt!
@dahahaka
@dahahaka 3 месяца назад
@@Cmacu ahhh see I didn't know about this react hill :D I do get the reference, ty!
@MrMarioPrieto
@MrMarioPrieto 3 месяца назад
Me laughing at this while writing my plain web components that will work unmodified for the next 15 years.
@tonnoztech
@tonnoztech 3 месяца назад
theo pls make 10 minutes videos :(
@portusdelphini
@portusdelphini 3 месяца назад
It is overcomplicated. Just make a wrapper and draw substitution instead of blocking component.
@Person-who-exists
@Person-who-exists 2 месяца назад
And this is why I only use vanilla html and js
@witchmorrow
@witchmorrow 3 месяца назад
Thank you Theo and team, another super informative video! I would definitely appreciate a video all about Suspense itself
@voidreact
@voidreact 3 месяца назад
Glad the react team is going to delay the release
@BrentMalice
@BrentMalice 3 месяца назад
you should make a video on how Microsoft edge is the best browser cuz copilot is better than google now
@VikasKapadiya1993
@VikasKapadiya1993 3 месяца назад
If I use normal fetch instead of react-query, will it hit API everytime it re-render?
@fatalglory777
@fatalglory777 3 месяца назад
My head hurts. This is seriously making me consider Alpine JS 😅
Далее
React's most dangerous feature
26:37
Просмотров 56 тыс.
How React Query Won
34:52
Просмотров 78 тыс.
CORTE DE CABELO RADICAL
00:59
Просмотров 2 млн
FATAL CHASE 😳 😳
00:19
Просмотров 1,1 млн
11 ming dollarlik uzum
00:43
Просмотров 494 тыс.
Cool Tools I’ve Been Using Lately
23:11
Просмотров 323 тыс.
Linus Torvalds: Speaks on Hype and the Future of AI
9:02
Vanilla React | Ryan Florence
25:56
Просмотров 18 тыс.
Why Everyone Loves Zustand
29:27
Просмотров 83 тыс.
What's new in React 19 | Lydia Hallie
20:04
Просмотров 42 тыс.
This might change how we build UI forever
15:14
Просмотров 128 тыс.
I wish I knew this before using React Three Fiber
28:23
React Server Components: A Comprehensive Breakdown
52:42
The "Wrong Way" To Use React
39:30
Просмотров 110 тыс.
CORTE DE CABELO RADICAL
00:59
Просмотров 2 млн