React Just Changed Forever

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 พ.ค. 2024
  • React Conf just happened, and it's been a wild ride. React 19 is out, but that's old news. We're here for something almost forgotten, something I've wanted for awhile.
    The React Compiler is here. I'm so hyped.
    SOURCES
    playground.react.dev
    react.dev/learn/react-compiler
    • React Compiler: In-Dep...
    github.com/facebook/react/pul...
    Check out my Twitch, Twitter, Discord more at t3.gg
    S/O Ph4seOn3 for the awesome edit 🙏
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 310

  • @LongJourneys
    @LongJourneys 21 วันที่ผ่านมา +1455

    Don't worry, it's a JS framework, it'll change forever again next week

    • @rohil3023
      @rohil3023 21 วันที่ผ่านมา +13

      🤣🤣🤣

    • @sulavbaral9972
      @sulavbaral9972 21 วันที่ผ่านมา +6

      So true lmao

    • @thederpykrafter
      @thederpykrafter 21 วันที่ผ่านมา +3

      Facts

    • @michacuranda5603
      @michacuranda5603 20 วันที่ผ่านมา +16

      Don't write it down. It's going to change next week.

    • @sanglin9387
      @sanglin9387 20 วันที่ผ่านมา +3

      😅😅😅 the reason now i make own spa js . enough is enough nightmare . enough re invent the wheel bugs

  • @edumorangobolcombr
    @edumorangobolcombr 21 วันที่ผ่านมา +600

    We write TSX that becomes JSX that becomes JS that becomes "Compiled" JS that becomes ByteCode
    Porque, Maria

    • @andreilucasgoncalves1416
      @andreilucasgoncalves1416 21 วันที่ผ่านมา +20

      Devs just want more magic to be more productive

    • @furycorp
      @furycorp 21 วันที่ผ่านมา +29

      Meanwhile vanillajs gets more capable all the time :)

    • @friendly__drone9352
      @friendly__drone9352 21 วันที่ผ่านมา +3

      Is that a Pablo Francisco reference, my dude?

    • @steftrando
      @steftrando 21 วันที่ผ่านมา +10

      Because it's totally cross platform. Web code is actually useful code.

    • @unkouwnfigure2746
      @unkouwnfigure2746 20 วันที่ผ่านมา +4

      nothing stops you from building dekstop apps using C and QT if you want

  • @caseyblair2341
    @caseyblair2341 21 วันที่ผ่านมา +134

    The best feature of React is it puts food on my family

    • @TypingHazard
      @TypingHazard 21 วันที่ผ่านมา +4

      I know how hard that is

    • @SilvestreVivo
      @SilvestreVivo 20 วันที่ผ่านมา +11

      compiled food probably

    • @wlockuz4467
      @wlockuz4467 20 วันที่ผ่านมา +5

      And the only good feature

    • @warrenarnold
      @warrenarnold 19 วันที่ผ่านมา +1

      yea that thing kicks ass😅

  • @MCroppered
    @MCroppered 21 วันที่ผ่านมา +295

    “Don’t write this down. It will all change next week”

    • @OccupyMars-le9gy
      @OccupyMars-le9gy 21 วันที่ผ่านมา +2

      deep cut, love it

    • @nathnaelwondisha6649
      @nathnaelwondisha6649 20 วันที่ผ่านมา +1

      lmaoo i was thinking the same

    • @wlockuz4467
      @wlockuz4467 20 วันที่ผ่านมา +2

      Legendary

    • @Senai
      @Senai 20 วันที่ผ่านมา

      Well played sir, well played.

    • @darksideishere
      @darksideishere 20 วันที่ผ่านมา

      Kai

  • @IoIxD
    @IoIxD 21 วันที่ผ่านมา +615

    Bro was so excited he made the video on the old DVD camcorder he found in the trash.

    • @siriusmain1763
      @siriusmain1763 21 วันที่ผ่านมา +9

      💀

    • @novnod
      @novnod 21 วันที่ผ่านมา +3

      Omg lmao

    • @t3dotgg
      @t3dotgg  21 วันที่ผ่านมา +195

      Fun fact, I actually had the camera on a mini tripod on a sideways trash can

    • @alexanderhorner
      @alexanderhorner 21 วันที่ผ่านมา +17

      @@t3dotgg I don't think it's that bad

    • @IoIxD
      @IoIxD 21 วันที่ผ่านมา

      @@alexanderhorner Well yeah it's viewable, it's more funny if anything.

  • @speckdratz
    @speckdratz 20 วันที่ผ่านมา +33

    Watching solely to support the no-stupid-face-on-thumbnail approach 🙃

  • @hi_im_julian_kirsch
    @hi_im_julian_kirsch 21 วันที่ผ่านมา +124

    So, the compiler basically does what Svelte's compiler has been doing so far but for React?
    Neat

    • @gageracer
      @gageracer 21 วันที่ผ่านมา

      Also with the less line of code too. Svelte5next is 124.961 lines. Facebook devs are geniuses.

    • @user-mx1ek4sl2m
      @user-mx1ek4sl2m 20 วันที่ผ่านมา +23

      Yeah, now we got sveltes good practice on an actual good framework*

    • @zuma206
      @zuma206 20 วันที่ผ่านมา +19

      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

    • @gageracer
      @gageracer 20 วันที่ผ่านมา +5

      @@zuma206 Yeah, it's a footGun remover. Not even a full compiler to optimize your code, at least yet.

    • @Booyamakashi
      @Booyamakashi 20 วันที่ผ่านมา +5

      @@zuma206 "You would write normally" - Have you seen gibberish that compiler spits out?

  • @malcolmdude
    @malcolmdude 21 วันที่ผ่านมา +47

    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.

  • @elirane85
    @elirane85 21 วันที่ผ่านมา +26

    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.

  • @JamesMikrut
    @JamesMikrut 21 วันที่ผ่านมา +12

    i cannot WAIT to see what this does for our UI performance

    • @readywhen
      @readywhen 20 วันที่ผ่านมา

      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

    • @Booyamakashi
      @Booyamakashi 20 วันที่ผ่านมา +3

      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.

    • @HUEHUEUHEPony
      @HUEHUEUHEPony 19 วันที่ผ่านมา +1

      It will add 10 minutes to your build time

    • @yoz0__
      @yoz0__ 12 วันที่ผ่านมา

      Cannot wait to see how many new bugs it will introduce

  • @cristianosoleti489
    @cristianosoleti489 20 วันที่ผ่านมา +28

    Funny how when Vue used a compiler (and still does), React devs used to say "I don't like compilers doing magic for me"

    • @cocoscacao6102
      @cocoscacao6102 19 วันที่ผ่านมา +7

      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.

    • @labilawal
      @labilawal 19 วันที่ผ่านมา

      @@cocoscacao6102 So react is the Apple of frameworks?

    • @Me-vc4sf
      @Me-vc4sf 19 วันที่ผ่านมา +8

      React is like apple of javascript devs

    • @oceantume
      @oceantume 17 วันที่ผ่านมา +3

      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.

  • @RockRespawn
    @RockRespawn 20 วันที่ผ่านมา +2

    ngl Theo, liked this format of video a lot more than the heavily produced ones :)

  • @binitrupakheti4246
    @binitrupakheti4246 20 วันที่ผ่านมา +4

    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.

  • @centner813
    @centner813 20 วันที่ผ่านมา

    First hand experience in delivering updates/news. Thanks man!

  • @sumitkarmakar-vc9bv
    @sumitkarmakar-vc9bv 19 วันที่ผ่านมา +3

    I have one question , isnt our bundler be much more in size since the compiler is adding more code for caching?

  • @fredbluntstoned
    @fredbluntstoned 21 วันที่ผ่านมา +5

    Forever? That's weird! Usually react only changes for a short period! :o

  • @NeilTheFisher
    @NeilTheFisher 21 วันที่ผ่านมา +2

    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.

  • @DevlogBill
    @DevlogBill 20 วันที่ผ่านมา

    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.

  • @ojolowoboluwatife9136
    @ojolowoboluwatife9136 21 วันที่ผ่านมา +1

    Great video,
    I'm happy I could catch up

  • @americanbagel
    @americanbagel 21 วันที่ผ่านมา +5

    I feel like react changes forever every other month

  • @zactron1997
    @zactron1997 21 วันที่ผ่านมา +30

    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.

    • @piaIy
      @piaIy 20 วันที่ผ่านมา +1

      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.

    • @zactron1997
      @zactron1997 20 วันที่ผ่านมา +2

      @@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.

  • @ElvenSpellmaker
    @ElvenSpellmaker 21 วันที่ผ่านมา +102

    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.

    • @hobbit125
      @hobbit125 20 วันที่ผ่านมา +2

      React is not javascript.

    • @RaZziaN1
      @RaZziaN1 20 วันที่ผ่านมา +3

      @@hobbit125 If it is js library it is js..

    • @davidsiewert8649
      @davidsiewert8649 20 วันที่ผ่านมา

      Most likely by Pheonix-Framework in Elixir/Erlang

    • @matthewgiallourakis7645
      @matthewgiallourakis7645 20 วันที่ผ่านมา +1

      Or static hermes

    • @SirusStarTV
      @SirusStarTV 18 วันที่ผ่านมา

      @@matthewgiallourakis7645 next in the line...dynamic herpes

  • @underflowexception
    @underflowexception 21 วันที่ผ่านมา +3

    new week, more complexity!

  • @thisandthatguy1156
    @thisandthatguy1156 21 วันที่ผ่านมา +1

    What are those menu icons after the recording one?

  • @davidalejandrollanesbojorq63
    @davidalejandrollanesbojorq63 20 วันที่ผ่านมา +1

    Hey, please can you tell me what Theme you are using in VS code?

  • @tungthanh4297
    @tungthanh4297 21 วันที่ผ่านมา +1

    Will webpack, vite are still working with such a new React compiler?

  • @chaos_monster
    @chaos_monster 20 วันที่ผ่านมา +3

    Welcome on the darkside of using compiler.
    Signed the Angular Community for 8 years

  • @orterves
    @orterves 21 วันที่ผ่านมา +107

    React spending all this time fixing issues of their own making.

    • @Novacification
      @Novacification 13 วันที่ผ่านมา

      Yeah, a framework so flawed that it needs its own compiler to avoid unintended side-effects during render.

  • @colin_actually
    @colin_actually 20 วันที่ผ่านมา +11

    React changes forever every year. It's how we keep the javascript programmers too busy to work in other sectors.

    • @warrenarnold
      @warrenarnold 19 วันที่ผ่านมา +1

      Frontend developers are not programmer 😅😂😂😂😂

  • @wesleycoder
    @wesleycoder 21 วันที่ผ่านมา +1

    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. 😅

    • @StephanHoyer
      @StephanHoyer 20 วันที่ผ่านมา +1

      If you mean fixing like fixing a broken leg with a band-aid, than you are right 😂

  • @ytuser6276
    @ytuser6276 21 วันที่ผ่านมา +6

    How does it affect bundle size?

    • @HUEHUEUHEPony
      @HUEHUEUHEPony 19 วันที่ผ่านมา +2

      Smaller, but don't look at build times

  • @MasterF3
    @MasterF3 20 วันที่ผ่านมา

    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?

  • @matejukmar
    @matejukmar 20 วันที่ผ่านมา +15

    For me it feels the compiler is result of something being wrong in the core of react in the first place

    • @offlercrocgod
      @offlercrocgod 20 วันที่ผ่านมา +4

      Indeed, if they used signals all this would be redundant.

  • @farhanghazali4406
    @farhanghazali4406 20 วันที่ผ่านมา +3

    Don't worry, its React, They will fix it again next version

  • @fadfooood
    @fadfooood 20 วันที่ผ่านมา

    React compiler only works with react 19? If yes, then how do we use it on existing projects?

  • @darkoplax7688
    @darkoplax7688 20 วันที่ผ่านมา +30

    it's hard to take Theo seriously when he does these 20min clickbait videos every other day about react changing

  • @mag2XYZ
    @mag2XYZ 20 วันที่ผ่านมา

    So how much does this add to the bundle size?

  • @Rtzoor
    @Rtzoor 19 วันที่ผ่านมา

    funny seeing you with natural lighting then KRAZAM drops The Solar Sermon

  • @asemyamak3984
    @asemyamak3984 20 วันที่ผ่านมา +4

    Who moved on to SolidJs or Svelte for good?

  • @ddomingo
    @ddomingo 20 วันที่ผ่านมา

    This is some cool stuff. I am glad that React is taking this direction.

  • @brennan123
    @brennan123 21 วันที่ผ่านมา +10

    A compiler that doesn't work across file boundaries? WAT?!?!?

    • @TimLouw
      @TimLouw 20 วันที่ผ่านมา +3

      More of just a parser or transpiler with some predefined find and replace properties😂

    • @Leonhart_93
      @Leonhart_93 19 วันที่ผ่านมา +1

      @@TimLouw Even real compilers do that step.

    • @TimLouw
      @TimLouw 19 วันที่ผ่านมา +1

      @@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.

    • @theshermantanker7043
      @theshermantanker7043 16 วันที่ผ่านมา

      That's literally every C or C++ compiler when you turn Link Time Optimization off. It's really more common than you think

  • @Fidicirj
    @Fidicirj 20 วันที่ผ่านมา +3

    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.

  • @andy_lamax
    @andy_lamax 21 วันที่ผ่านมา +6

    Doesn't this affect bundle size though?

    • @lumiannah
      @lumiannah 19 วันที่ผ่านมา +2

      My thoughts exactly. What about memory footprint as well?

  • @Leonhart_93
    @Leonhart_93 19 วันที่ผ่านมา

    Now this compiler might actually be an improvement that will make me add something new for the first time in the past 5 years.

  • @ArturMullerDesign
    @ArturMullerDesign 15 วันที่ผ่านมา

    Congrats on making a video without a silly face thumbnail! It's great 🔥

  • @JuliusMalunhao
    @JuliusMalunhao 17 วันที่ผ่านมา

    I love your videos bro thanks for the info

  • @TimLouw
    @TimLouw 20 วันที่ผ่านมา +11

    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.

    • @geekofia
      @geekofia 20 วันที่ผ่านมา +3

      React wasn't a framework, it was a library. Now it's becoming a framework.

    • @TimLouw
      @TimLouw 19 วันที่ผ่านมา

      @@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.

  • @BarakaAndrew
    @BarakaAndrew 20 วันที่ผ่านมา

    This is great, now we need static hermes on mobile then react is the only tool one needs for everything

  • @nro337
    @nro337 21 วันที่ผ่านมา

    Huge news!

  • @RasmusSchultz
    @RasmusSchultz 19 วันที่ผ่านมา

    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?

  • @toshobg
    @toshobg 21 วันที่ผ่านมา +2

    I've never been so confused in my life

  • @RolandAyala
    @RolandAyala 20 วันที่ผ่านมา +2

    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.

    • @juxuanu
      @juxuanu 20 วันที่ผ่านมา

      Next.js with OpenNext works wonderfully in docker

    • @WilliamWelsh
      @WilliamWelsh 20 วันที่ผ่านมา +1

      hey roland great news you can actually use react without next or vercel just like theo did this entire video

  • @snowwsquire
    @snowwsquire 20 วันที่ผ่านมา

    The 14 inch mbp aspect ratio feels very weird but i kinda like it

  • @dotthree7894
    @dotthree7894 20 วันที่ผ่านมา +1

    Imagine trying to use a hammer, but each time you use it the handle is different

  • @raphauy
    @raphauy 20 วันที่ผ่านมา

    Very promising. Thank you!

  • @AivoPaas
    @AivoPaas 20 วันที่ผ่านมา +1

    "React code" and "elegant" in the same sentence. Laughing in Vue.

  • @jrreed47
    @jrreed47 20 วันที่ผ่านมา

    I ran out of breath for you watching this

  • @CristianKirk
    @CristianKirk 20 วันที่ผ่านมา +2

    React changed forever for 3 months.

  • @senpaijs798
    @senpaijs798 20 วันที่ผ่านมา

    Our belowed React Paster Theo.

  • @dmullen1994
    @dmullen1994 21 วันที่ผ่านมา +1

    ur hair looks good at this length

    • @rob011
      @rob011 20 วันที่ผ่านมา

      That’s not length, it’s 1-based indexing

  • @ParanoidxProd
    @ParanoidxProd 21 วันที่ผ่านมา +12

    Sexy tan lines 👀 Now that’s the T3 Skater Boy we all know and love!

  • @yungouda
    @yungouda 20 วันที่ผ่านมา

    We need to make Theo implement a compiler in Go and in Rust.

  • @williamliu796
    @williamliu796 20 วันที่ผ่านมา

    is this something that is being built into ‘next dev’?

  • @coomservative
    @coomservative 21 วันที่ผ่านมา +11

    TL;DR it’s Svelte now

    • @joaofrancisco5781
      @joaofrancisco5781 20 วันที่ผ่านมา +1

      So it got better, F for SolidJs

  • @kodekorp2064
    @kodekorp2064 14 วันที่ผ่านมา

    I remember when React first released and I had to choose between react or angularJS as the current two main techs lol

  • @mirzazplayz_rblx
    @mirzazplayz_rblx 19 วันที่ผ่านมา +2

    This guy yapp so much!!

  • @hodev632
    @hodev632 19 วันที่ผ่านมา

    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

  • @ThatDereKid
    @ThatDereKid 21 วันที่ผ่านมา +7

    So basically rich harris was right

    • @SilvestreVivo
      @SilvestreVivo 20 วันที่ผ่านมา

      Basically he always is

    • @StephanHoyer
      @StephanHoyer 20 วันที่ผ่านมา +1

      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.

    • @SilvestreVivo
      @SilvestreVivo 20 วันที่ผ่านมา +1

      @@StephanHoyer I think Svelte 5 is pretty easy to debug. We don't need more React craziness. There are better alternatives.

    • @StephanHoyer
      @StephanHoyer 20 วันที่ผ่านมา

      @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.

    • @SilvestreVivo
      @SilvestreVivo 20 วันที่ผ่านมา

      @@StephanHoyer mithriljs? hahah I am migrating a project from mithriljs to Svelte because is extremely difficult to maintain. Let's be serious please.

  • @thiagovieira8569
    @thiagovieira8569 21 วันที่ผ่านมา +35

    Agajn?

    • @Frazful
      @Frazful 21 วันที่ผ่านมา +1

      My thoughts exactly

  • @alexanderhorner
    @alexanderhorner 21 วันที่ผ่านมา +2

    Off topic: I love the hair. How do you make you hair curly/wavey like that?

    • @t3dotgg
      @t3dotgg  21 วันที่ผ่านมา +3

      I went to a different climate (Vegas) and didn't blowdry my hair this morning. This is technically how it "naturally looks"

    • @alexanderhorner
      @alexanderhorner 21 วันที่ผ่านมา

      @@t3dotgg nice

  • @JenuelDev
    @JenuelDev 17 วันที่ผ่านมา

    wait, is this already in vuejs?

  • @yashjadhav6838
    @yashjadhav6838 20 วันที่ผ่านมา

    Will this also affect react Native

  • @sgguitarfan7
    @sgguitarfan7 20 วันที่ผ่านมา +3

    Svelte had to exist, just so that react could become less shitty.

  • @voltflake
    @voltflake 20 วันที่ผ่านมา

    0 days since react changed forever

  • @patcoston
    @patcoston 20 วันที่ผ่านมา +1

    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.

  • @pinatacolada7986
    @pinatacolada7986 20 วันที่ผ่านมา +1

    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.

  • @pastuh
    @pastuh 20 วันที่ผ่านมา +2

    sometimes I think... need go back to art, one simple pencil which never changes

    • @gabbeeto
      @gabbeeto 17 วันที่ผ่านมา +1

      well your keyboard never changes and the techniques you're going to use in art are going to be different overtime

  • @richardantao3249
    @richardantao3249 20 วันที่ผ่านมา

    Hot take: every piece of software changes forever after every release

  • @rapzid3536
    @rapzid3536 21 วันที่ผ่านมา

    MobX and chill.

  • @CodingPhase
    @CodingPhase 21 วันที่ผ่านมา +3

    Theo is the CNN of React lol this is where i get my react news

    • @valknut9648
      @valknut9648 20 วันที่ผ่านมา +1

      >implying CNN is a reliable news source in the first place

  • @dedicatedserver8214
    @dedicatedserver8214 21 วันที่ผ่านมา

    How much does the compiler increase bundle size? With all the extra if statements etc

    • @aldi_nh
      @aldi_nh 21 วันที่ผ่านมา +4

      its compiler dude, do you include babel and typescript in your bundle?

    • @dedicatedserver8214
      @dedicatedserver8214 21 วันที่ผ่านมา

      @@aldi_nh no, it adds code into your bundle though to memorize components

    • @MrQuezPL
      @MrQuezPL 20 วันที่ผ่านมา +1

      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

  • @sashogs
    @sashogs 21 วันที่ผ่านมา +2

    Time to move to solid?

  • @Kaczucha888
    @Kaczucha888 20 วันที่ผ่านมา +4

    This sounds like it is going to be memory hungry! React VDOM is just a bad abstraction

  • @neizvestniydrug
    @neizvestniydrug 18 วันที่ผ่านมา +1

    Hype! Hype! Hype!!🎉🎉🎉😂😂😂

  • @MichaelLazarski
    @MichaelLazarski 20 วันที่ผ่านมา +1

    React is Svelte now

  • @madmax404
    @madmax404 20 วันที่ผ่านมา

    what is this aspect ratio? 20:13???

  • @habong17359
    @habong17359 20 วันที่ผ่านมา +1

    Tomorrow: React Just Changed Forever and Ever

    • @habong17359
      @habong17359 20 วันที่ผ่านมา

      Next week: Next.js Just Changed Web Development

    • @habong17359
      @habong17359 20 วันที่ผ่านมา

      Next month: React Just Changed Forever, But This Time For Real

    • @habong17359
      @habong17359 20 วันที่ผ่านมา

      2 Month later: Next.js Just Changed Everything, But This Time "EVERYTHING"

    • @habong17359
      @habong17359 20 วันที่ผ่านมา

      3 Month later: React Got Rid of `use()`

    • @habong17359
      @habong17359 20 วันที่ผ่านมา

      4 Month later: Next.js Revives `use()` and Changes The Fundamental Thinking of Web Development.

  • @lazarpro3030
    @lazarpro3030 20 วันที่ผ่านมา +1

    so they were the ones lagging github

  • @paxdriver
    @paxdriver 20 วันที่ผ่านมา

    Theo, you're amazing

  • @johannes596
    @johannes596 20 วันที่ผ่านมา

    So, they basically got yet another step closer to imitating Elm since 2012?

  • @osbyrne
    @osbyrne 21 วันที่ผ่านมา

    here before @malix ????

  • @mr.random8447
    @mr.random8447 21 วันที่ผ่านมา +3

    Team Svelte

  • @gnoyl
    @gnoyl 20 วันที่ผ่านมา

    Oh wow another fundamental change that deprecates 6 month old code! Love to see it

  • @gwarf5555
    @gwarf5555 21 วันที่ผ่านมา

    that mic makes it look like you've been shot.

  • @emaayan
    @emaayan 19 วันที่ผ่านมา

    a pull request with 1900 commits, grab a snack the code review may take a while...

  • @cesarmartinez2207
    @cesarmartinez2207 16 วันที่ผ่านมา

    yes the react team went a different way with the compiler because instead of doing what signals already fixed they decided to hide the garbage behind this magic compiler

  • @ricky2629
    @ricky2629 20 วันที่ผ่านมา

    It just converts between JSX and JS, it's not a compiler it's a transpiler

    • @mihailmojsoski4202
      @mihailmojsoski4202 18 วันที่ผ่านมา +1

      gcc just converts between C and machine code, it's not a compiler it's a transpiler

  • @crism8868
    @crism8868 21 วันที่ผ่านมา

    Now what? I keep trying to learn React but React keeps changing 😭😭😭

  • @user-xj5gz7ln3q
    @user-xj5gz7ln3q 21 วันที่ผ่านมา +15

    Wait until next week... It'll change again. :D

    • @crism8868
      @crism8868 21 วันที่ผ่านมา

      "Don't bother writing any of this down is going to change next week"
      - Programmers are also human

  • @oemeraran8183
    @oemeraran8183 20 วันที่ผ่านมา

    Manual memoization (performance in general) and forwardRef were really always my biggest reasons to switch to other frameworks. With both of these changes, I dont see any reason to switch anymore.
    I think React has the best mental model now, making the code easy to understand and reason about, without having to know the internals. I am especially talking about DX not about the complexity of the internal code.
    Even though I love solid, i much rather use spread operators instead of helper functions like "mergeProps". It just feels more natural to use. Also using variables instead of calling function to get the reactive state.
    And don't let me start with Vue magic and ".value" insanity. It's so odd to retain reactivity. Same with Svelte. I don't like the crazy magic and custom file extentions to make these frameworks work. Either tsx or ts.
    Solid was the only real alternative, but with these changes and the existing insane ecosystem, I really don't see a reason to leave react behind.
    We have to understand and also appreciate, that react was ome of the first and they need the time to fix core issues from framework level now, which they are always trying to do.

    • @nephis_2006
      @nephis_2006 20 วันที่ผ่านมา

      fyi you dont need .vue to have a vue project

    • @oemeraran8183
      @oemeraran8183 20 วันที่ผ่านมา

      @@nephis_2006 i know you can use tsx, but it's not the default. I tried it once and the resources were lacking, as every blog post was about SFC. If you opt-out of default behaviour you always have different kind of problems. Also not every team member would want to use tsx.