Don't worry, it's a JS framework, it'll change forever again next week
@rohil30236 ай бұрын
🤣🤣🤣
@sulavbaral99726 ай бұрын
So true lmao
@thederpykrafter6 ай бұрын
Facts
@michacuranda56036 ай бұрын
Don't write it down. It's going to change next week.
@sanglin93876 ай бұрын
😅😅😅 the reason now i make own spa js . enough is enough nightmare . enough re invent the wheel bugs
@edumorango6 ай бұрын
We write TSX that becomes JSX that becomes JS that becomes "Compiled" JS that becomes ByteCode Porque, Maria
@andreilucasgoncalves14166 ай бұрын
Devs just want more magic to be more productive
@furycorp6 ай бұрын
Meanwhile vanillajs gets more capable all the time :)
@friendly__drone93526 ай бұрын
Is that a Pablo Francisco reference, my dude?
@steftrando6 ай бұрын
Because it's totally cross platform. Web code is actually useful code.
@unkouwnfigure27466 ай бұрын
nothing stops you from building dekstop apps using C and QT if you want
@MCroppered6 ай бұрын
“Don’t write this down. It will all change next week”
@nathnaelwondisha66496 ай бұрын
lmaoo i was thinking the same
@wlockuz44676 ай бұрын
Legendary
@Taddy_Mason6 ай бұрын
Well played sir, well played.
@darksideishere6 ай бұрын
Kai
@IoIxD6 ай бұрын
Bro was so excited he made the video on the old DVD camcorder he found in the trash.
@siriusmain17636 ай бұрын
💀
@novnod6 ай бұрын
Omg lmao
@t3dotgg6 ай бұрын
Fun fact, I actually had the camera on a mini tripod on a sideways trash can
@alexanderhorner6 ай бұрын
@@t3dotgg I don't think it's that bad
@IoIxD6 ай бұрын
@@alexanderhorner Well yeah it's viewable, it's more funny if anything.
@caseyblair23416 ай бұрын
The best feature of React is it puts food on my family
@TypingHazard6 ай бұрын
I know how hard that is
@SilvestreVivo6 ай бұрын
compiled food probably
@wlockuz44676 ай бұрын
And the only good feature
@warrenarnold6 ай бұрын
yea that thing kicks ass😅
@speckdratz6 ай бұрын
Watching solely to support the no-stupid-face-on-thumbnail approach 🙃
@malcolmdude6 ай бұрын
Thanks for the update. Regarding Rust vs Go for the react compiler - Rust's algebraic types make it much easier to write parsers, ASTs and compilers compared to languages without these features.
@hi_im_julian_kirsch6 ай бұрын
So, the compiler basically does what Svelte's compiler has been doing so far but for React? Neat
@gageracer6 ай бұрын
Also with the less line of code too. Svelte5next is 124.961 lines. Facebook devs are geniuses.
@ΣτάθηςΣταθόπουλος-σ7ρ6 ай бұрын
Yeah, now we got sveltes good practice on an actual good framework*
@zuma2066 ай бұрын
Not really at all, the svelte compiler converts it's vanilla js looking signal code into actual js signal code. react compiler produces the same code you could write normally, but with added optimisations that you'd usually add yourself using useMemo, memo, etc
@gageracer6 ай бұрын
@@zuma206 Yeah, it's a footGun remover. Not even a full compiler to optimize your code, at least yet.
@Booyamakashi6 ай бұрын
@@zuma206 "You would write normally" - Have you seen gibberish that compiler spits out?
@elirane856 ай бұрын
memoizing is one of things that doesn't feel needed at first but then you find yourself with hundreds of components and everything grinds to a halt. I worked on a project where after around 5 years of development without using memoizing it became so sluggish that we had to skip two release windows just to add memoization to the hundreds if not thousands of components we had until it was usable again.
@StCost5 ай бұрын
forcing stuff to be updated only when it actually needs to - is a big challenge indeed
@orterves6 ай бұрын
React spending all this time fixing issues of their own making.
@Novacification6 ай бұрын
Yeah, a framework so flawed that it needs its own compiler to avoid unintended side-effects during render.
@JamesMikrut6 ай бұрын
i cannot WAIT to see what this does for our UI performance
@readywhen6 ай бұрын
I love how much Payload is benefitting from the newest next and react changes! Glad you guys are putting in crazy effort to adapt so quickly
@Booyamakashi6 ай бұрын
Probably you wont notice, unless you start digging into performance tab. Unless you are a real customer with shitty pc, bloated OS, full ram and bad network.
@yoz0__6 ай бұрын
Cannot wait to see how many new bugs it will introduce
@sumitkarmakar-vc9bv6 ай бұрын
I have one question , isnt our bundler be much more in size since the compiler is adding more code for caching?
@asemyamak39846 ай бұрын
Who moved on to SolidJs or Svelte for good?
@cristianosoleti4896 ай бұрын
Funny how when Vue used a compiler (and still does), React devs used to say "I don't like compilers doing magic for me"
@cocoscacao61026 ай бұрын
Eh... React devs always gravitated slowly to what other frameworks had already done years ago, while being completely oblivious about it and calling it innovation.
@ep11-o7s6 ай бұрын
@@cocoscacao6102 So react is the Apple of frameworks?
@Me-vc4sf6 ай бұрын
React is like apple of javascript devs
@oceantume6 ай бұрын
One thing that made react stand out through all the shining new things that get released is that it virtually never forced anything and most improvements are optional and progressive additions you can do. The contrary is not necessarily a deal breaker for most, but when you have huge apps in production and you want upgrades without having to touch every component every few months it can definitely matter. You can still import react from a CDN today and use the non-jsx functions to use react on a single page of an old php app if you want.
@ytuser62766 ай бұрын
How does it affect bundle size?
@zactron19976 ай бұрын
Considering how large the React Compiler codebase is already, I'm not surprised they want to rewrite in Rust straight away instead of something like Go. Rust's strict rules are one of the best ways to wrangle a massive codebase with that many contributors, especially in a context as important as "The Official React Compiler". Unit tests are just not enough to ensure reproducible results between commits. Throw in performance concerns and the possibility of using the React Compiler in the browser through WASM (Go's support in WASM is horrible compared to Rust) and it makes complete sense. Finally, this is a project they've already finished prototyping over the past 3 years. I doubt there's going to be any major changes to the fundamentals going forward. Whether you like it or hate it, the React Compiler is one of the prime examples of where Rust is a good fit for a project.
@piaIy6 ай бұрын
It's unfair to bring up Go's performance in Wasm in its current state when managed languages have to ship their own GC. Once WasmGC is stable, everyone will jump on languages that actually get shit done.
@zactron19976 ай бұрын
@@piaIy I don't have any particular gripes with Go, if you like it then have at it! To say it's unfair to comment on Go's lack of performance on WASM is a bit silly though. I also find it silly that you're saying nothing gets done in Rust, in a comment on a video discussing things getting done in Rust. But to more directly address your point, WASM GC isn't enough to make Go viable on WASM. The fundamental issue is WASM is a highly resource constrained environment, so explicit management of resources is required to get even modest performance. Go is a good language, but this is an area where it is just a bad fit. It's like trying to run TypeScript on embedded.
@thiagovieira85696 ай бұрын
Agajn?
@Frazful6 ай бұрын
My thoughts exactly
@americanbagel6 ай бұрын
I feel like react changes forever every other month
@andy_lamax6 ай бұрын
Doesn't this affect bundle size though?
@lumiannah6 ай бұрын
My thoughts exactly. What about memory footprint as well?
@binitrupakheti42466 ай бұрын
I remember a time when memoizing was seen like the devil, and people were like the overhead is much more than rerendering everything. It's funny to see how the times have changed and memoizing is the default now because turns out a check for the cache is almost always going to be faster than recalculating the value.
@ElvenSpellmaker6 ай бұрын
JavaScript changes so often Theo'll come back after the next talk and update saying it's been replaced with the next shiny thing already.
@hobbit1256 ай бұрын
React is not javascript.
@RaZziaN16 ай бұрын
@@hobbit125 If it is js library it is js..
@davidsiewert86496 ай бұрын
Most likely by Pheonix-Framework in Elixir/Erlang
@matthewgiallourakis76456 ай бұрын
Or static hermes
@SirusStarTV6 ай бұрын
@@matthewgiallourakis7645 next in the line...dynamic herpes
@darkoplax76886 ай бұрын
it's hard to take Theo seriously when he does these 20min clickbait videos every other day about react changing
@averagepickleballplayer6 ай бұрын
…I mean it is changing though lol
@RockRespawn6 ай бұрын
ngl Theo, liked this format of video a lot more than the heavily produced ones :)
@farhanghazali44066 ай бұрын
Don't worry, its React, They will fix it again next version
@NeilTheFisher6 ай бұрын
Jack Herrington mentioned that memoization won't work for proxy state, specifically mentioning mobx. What do you think the best solution for that would be? I've been using valtio and that may affect me as well.
@matej-world6 ай бұрын
For me it feels the compiler is result of something being wrong in the core of react in the first place
@offlercrocgod6 ай бұрын
Indeed, if they used signals all this would be redundant.
@chaos_monster6 ай бұрын
Welcome on the darkside of using compiler. Signed the Angular Community for 8 years
@centner8136 ай бұрын
First hand experience in delivering updates/news. Thanks man!
@fredbluntstoned6 ай бұрын
Forever? That's weird! Usually react only changes for a short period! :o
@colin_actually6 ай бұрын
React changes forever every year. It's how we keep the javascript programmers too busy to work in other sectors.
@warrenarnold6 ай бұрын
Frontend developers are not programmer 😅😂😂😂😂
@ThatDereKid6 ай бұрын
So basically rich harris was right
@SilvestreVivo6 ай бұрын
Basically he always is
@StephanHoyer6 ай бұрын
No. Both where wrong. Solution is a simpler, more predictable framework than react. Compiling makes things even more opaque. Try to debug in that code.
@SilvestreVivo6 ай бұрын
@@StephanHoyer I think Svelte 5 is pretty easy to debug. We don't need more React craziness. There are better alternatives.
@StephanHoyer6 ай бұрын
@SilvestreVivo I don't mean react. I find it aweful, too. But there are much simpler alternatives that don't need compilation at all. Like mithriljs.
@SilvestreVivo6 ай бұрын
@@StephanHoyer mithriljs? hahah I am migrating a project from mithriljs to Svelte because is extremely difficult to maintain. Let's be serious please.
@davidllanes10196 ай бұрын
Hey, please can you tell me what Theme you are using in VS code?
@brennan1236 ай бұрын
A compiler that doesn't work across file boundaries? WAT?!?!?
@TimLouw6 ай бұрын
More of just a parser or transpiler with some predefined find and replace properties😂
@Leonhart_936 ай бұрын
@@TimLouw Even real compilers do that step.
@TimLouw6 ай бұрын
@@Leonhart_93 I'm aware they do that step but that's not what makes them proper compilers... It's a feature they generally handle but the fact that this compiler doesn't go across file boundaries is leaving a massive amount of optimization on the table.
@theshermantanker70436 ай бұрын
That's literally every C or C++ compiler when you turn Link Time Optimization off. It's really more common than you think
@RolandAyala6 ай бұрын
This biggest problem w/ React right now IMO is the it's too tied to Next/Vercel. I look forward to that problem getting fixed, and will happily stay on alt frameworks like Remix even if it means missing out on or needing to wait a long time for all the latest and greatest React features.
@juxuanu6 ай бұрын
Next.js with OpenNext works wonderfully in docker
@WilliamWelsh6 ай бұрын
hey roland great news you can actually use react without next or vercel just like theo did this entire video
@coomservative6 ай бұрын
TL;DR it’s Svelte now
@onça_pintuda9996 ай бұрын
So it got better, F for SolidJs
@tungthanh42976 ай бұрын
Will webpack, vite are still working with such a new React compiler?
@MasterF36 ай бұрын
Does this eliminate all unnecessary re-renders and the need for other techniques like building the component further up and passing it down as a prop?
@ddomingo6 ай бұрын
This is some cool stuff. I am glad that React is taking this direction.
@CristianKirk6 ай бұрын
React changed forever for 3 months.
@tobeythepancake2 ай бұрын
Anyone look at memory utilization with the new compiler? I want to see if it’s the same.
@toshobg6 ай бұрын
I've never been so confused in my life
@underflowexception6 ай бұрын
new week, more complexity!
@Noritoshi-r8m6 ай бұрын
>Compiler built in rust. Of course it is. Why isnt Rust in the browsers already? Javascript is slowing us so much.
@dotthree78946 ай бұрын
Imagine trying to use a hammer, but each time you use it the handle is different
@patcoston6 ай бұрын
6:46 I found a bug in your wording. Check the spelling of etcetera, then listen to yourself say it. I used to say it that way until one day I went to write etc. but instead I wrote ect., then I thought, that can't be right. I figured out the glitch in my matrix, and uploaded a patch.
@RasmusSchultz6 ай бұрын
what about output file size? compiled output looks substantially more complex. I also wonder how this affects debugging. the addition of a compiler radically changes React code from something where you can easily imagine what the output looks like - the standard React JSX transform is so trivial, so easy to understand and explain. we've sort of lost that. I'm still unsure why I should be more excited about this than about something like Solid, which was designed and built for the kind of performance and scalability React is fighting for... but did so with design rather than by layering more complexity on top of complexity. at the end of the day, doesn't all of this added complexity exist primarily to correct inherent design problems that React itself created?
@mirzazplayz_rblx6 ай бұрын
This guy yapp so much!!
@MrJulyos6 ай бұрын
I love your videos bro thanks for the info
@wesleycoder6 ай бұрын
It's awesome to see this problem being fixed after so long time. It's sad that this is a problem we created for ourselves. 😅
@StephanHoyer6 ай бұрын
If you mean fixing like fixing a broken leg with a band-aid, than you are right 😂
@AivoPaas6 ай бұрын
"React code" and "elegant" in the same sentence. Laughing in Vue.
@ojolowoboluwatife91366 ай бұрын
Great video, I'm happy I could catch up
@anonimoanonimo-wb5gk3 ай бұрын
Hi, I'm a begginer fullstack developer, and I'm leraning react. I'm kinda feeling lost with the Overhelming quantit of information there is about It. I learned a lot of concepts, how to use hooks, etc. And now there is this react compiler I literally didn't knew about the existance... Can comeone give me some tips of what I should study to get into te market? I'm already building wesites, but I'm scared I'm missing out on something I should know and I don't wight now...
@fadfooood6 ай бұрын
React compiler only works with react 19? If yes, then how do we use it on existing projects?
@thisandthatguy11566 ай бұрын
What are those menu icons after the recording one?
@ArturMullerDesign6 ай бұрын
Congrats on making a video without a silly face thumbnail! It's great 🔥
@sashogs6 ай бұрын
Time to move to solid?
@Leonhart_936 ай бұрын
Now this compiler might actually be an improvement that will make me add something new for the first time in the past 5 years.
@sgguitarfan76 ай бұрын
Svelte had to exist, just so that react could become less shitty.
@JenuelDevTutors6 ай бұрын
wait, is this already in vuejs?
@neizvestniydrug6 ай бұрын
Hype! Hype! Hype!!🎉🎉🎉😂😂😂
@pinatacolada79866 ай бұрын
I'm at a conference but rather than enjoy myself, socialize, meet and talk to people and relax - I ran away to my secluded hotel room to talk, alone to myself. Find the bar, nerd.
@yashjadhav68386 ай бұрын
Will this also affect react Native
@DevlogBill6 ай бұрын
Very exciting stuff. Since this is so new upon release date it would be nice if they left on Vite the new compile version and as well as the standard React project download version. I am assuming the compiler version will be excellent for certain use cases.
@raphauy6 ай бұрын
Very promising. Thank you!
@CodingPhase6 ай бұрын
Theo is the CNN of React lol this is where i get my react news
@valknut96486 ай бұрын
>implying CNN is a reliable news source in the first place
@mag2XYZ6 ай бұрын
So how much does this add to the bundle size?
@Fidicirj6 ай бұрын
No shit Theo, this format much much better that your normal videos. Not much opinions, enjoying the news, not much reactions. Hopefully you will keep it up.
@ParanoidxProd6 ай бұрын
Sexy tan lines 👀 Now that’s the T3 Skater Boy we all know and love!
@alexanderhorner6 ай бұрын
Off topic: I love the hair. How do you make you hair curly/wavey like that?
@t3dotgg6 ай бұрын
I went to a different climate (Vegas) and didn't blowdry my hair this morning. This is technically how it "naturally looks"
@alexanderhorner6 ай бұрын
@@t3dotgg nice
@BarakaAndrew6 ай бұрын
This is great, now we need static hermes on mobile then react is the only tool one needs for everything
@pastuh6 ай бұрын
sometimes I think... need go back to art, one simple pencil which never changes
@gabbeeto6 ай бұрын
well your keyboard never changes and the techniques you're going to use in art are going to be different overtime
@senpaijs7986 ай бұрын
Our belowed React Paster Theo.
@PaulBunkey6 ай бұрын
Just now noticed... Theo is somewhat similar to Freddie Mercury. More so than Rami Malek... Just stop at 0:15 and imagine him with short hair 😄
@jak3legacy6 ай бұрын
The necessity of a compiler at such an abstract level has convinced me that React was a pioneer in component-ized architecture, but that React itself, particularly the rendering lifecycle and surrounding architecture, is not it. React's "children" frameworks and architectures built around signals and other reactivity systems will be the future. Just not sure how far into the future. React has effectively gone from a rendering library inside of a programming language, to a scripting language (as it is written by developers).
@hodev6326 ай бұрын
If it leads to the removal of unused code in react dom, so we don't download 140 kb library, it would be great. That's the point of using build tools . Like what we have in Svelte other than that, it's a nice update
@TimLouw6 ай бұрын
I can't believe the React team took this many years to realise that they could deliver a much better developer experience and much better app performance by using a compiler. All the actually great frameworks started out with a compiler because they knew how key it was from the beginning.
@geekofia6 ай бұрын
React wasn't a framework, it was a library. Now it's becoming a framework.
@TimLouw6 ай бұрын
@@geekofia it's been touted as just a library but has over the years gained more and more of the typical features of a framework and it doesn't compete against libraries, it competes against frameworks. Just search React vs and all the results will be it getting compared to frameworks.
@Caldaron6 ай бұрын
theo got new teeth?
@mr.random84476 ай бұрын
Team Svelte
@prestigealanazi29936 ай бұрын
I was about to learn svelte wat
@prestigealanazi29936 ай бұрын
I thought that will change a little of the syntax or coding simplicity , but seems no , therefore I would still learn svelte kit and capacitor js ( as it seems the best easiest way ) for the backend tho I think I will mix between asp , node and mongodb
@kodekorp20646 ай бұрын
I remember when React first released and I had to choose between react or angularJS as the current two main techs lol
@habong173596 ай бұрын
Tomorrow: React Just Changed Forever and Ever
@habong173596 ай бұрын
Next week: Next.js Just Changed Web Development
@habong173596 ай бұрын
Next month: React Just Changed Forever, But This Time For Real
@habong173596 ай бұрын
2 Month later: Next.js Just Changed Everything, But This Time "EVERYTHING"
@habong173596 ай бұрын
3 Month later: React Got Rid of `use()`
@habong173596 ай бұрын
4 Month later: Next.js Revives `use()` and Changes The Fundamental Thinking of Web Development.
@emreq91246 ай бұрын
What happened to "memoziation comes with a cost" and "dont overuse useMemo and memo" things? omg everything is memoized now.
@elirane856 ай бұрын
That was lie :) I think that the "cost" was that they were scared that you'll use to much memory that it will affect performance. I personally ignored that advice at some point and started memoizing EVERYTHING and it always had only positive effect on performance.
@havokgames82976 ай бұрын
It came at a cost of having to manually put that code everywhere. That cost has now been shifted to just a bundle size cost.
@emreq91246 ай бұрын
@@havokgames8297 no, memoization has a runtime cost which checks the equity of current and next value by using Object.is(or such things) method, to update the value or decide some actions for components depends on the situation. They said "rerendering is a small thing and react is so performant about that, but updating real dom is a expensive thing" maybe 1001240 times. Now they put memoization everywhere under the hood. I cant understand
@MichaelLazarski6 ай бұрын
React is Svelte now
@snowwsquire6 ай бұрын
The 14 inch mbp aspect ratio feels very weird but i kinda like it
@dmullen19946 ай бұрын
ur hair looks good at this length
@rob0116 ай бұрын
That’s not length, it’s 1-based indexing
@richardantao32496 ай бұрын
Hot take: every piece of software changes forever after every release
@yungouda6 ай бұрын
We need to make Theo implement a compiler in Go and in Rust.
@Rtzoor6 ай бұрын
funny seeing you with natural lighting then KRAZAM drops The Solar Sermon
@williamliu7966 ай бұрын
is this something that is being built into ‘next dev’?
@lazarpro30306 ай бұрын
so they were the ones lagging github
@ricky26296 ай бұрын
It just converts between JSX and JS, it's not a compiler it's a transpiler
@mihailmojsoski42026 ай бұрын
gcc just converts between C and machine code, it's not a compiler it's a transpiler
@jrreed476 ай бұрын
I ran out of breath for you watching this
@yahm0n6 ай бұрын
So the compiler just memoizes everything and hides the mess from you?
@dedicatedserver82146 ай бұрын
How much does the compiler increase bundle size? With all the extra if statements etc
@aldi_nh6 ай бұрын
its compiler dude, do you include babel and typescript in your bundle?
@dedicatedserver82146 ай бұрын
@@aldi_nh no, it adds code into your bundle though to memorize components
@MrQuezPL6 ай бұрын
but he is right. Obviously we won't be including all the compiler code, but we definitely will include output from the compiler with additional optimisation overhead
@gnoyl6 ай бұрын
Oh wow another fundamental change that deprecates 6 month old code! Love to see it
@BobKane-g6x6 ай бұрын
Wait until next week... It'll change again. :D
@crism88686 ай бұрын
"Don't bother writing any of this down is going to change next week" - Programmers are also human
@korayem6 ай бұрын
2:00 I stopped using react 6 years ago. Using it didn't make any business sense as it made frontend dev our weakest link, slowing everything down. Good thing that now they're joking about how React was bad. Svelte saved React
@mailslurp6 ай бұрын
hype god
@voltflake6 ай бұрын
0 days since react changed forever
@ajar10006 ай бұрын
React never stops changing lol
@____---__________--------_____6 ай бұрын
it changes forever with each announcement
@tyu34566 ай бұрын
People say this but at the same time... React has been on v18 for years