They made React great again?

Sdílet
Vložit
  • čas přidán 25. 02. 2024
  • Let's take a first look at React 19 and a variety of changes will improve the developer experience. We compare React's changes to other JavaScript frameworks like Svelte, Vue, and Angular.
    #webdevelopment #programming #thecodereport
    💬 Chat with Me on Discord
    / discord
    🔗 Resources
    React Blog Post react.dev/blog/2024/02/15/rea...
    React for the Haters • React for the Haters i...
    Fireship Next.JS course fireship.io/courses/nextjs/
    🔥 Get More Content - Upgrade to PRO
    Upgrade at fireship.io/pro
    Use code YT25 for 25% off PRO access
    🎨 My Editor Settings
    - Atom One Dark
    - vscode-icons
    - Fira Code Font
    🔖 Topics Covered
    - What's new in react version 19
    - React vs Vue
    - React vs Svelte
    - React 19 compiler
  • Věda a technologie

Komentáře • 1,9K

  • @joaofrancisco5781
    @joaofrancisco5781 Před 2 měsíci +7585

    Day 1 of not saying AI in the video

  • @EyesOfByes
    @EyesOfByes Před 2 měsíci +5135

    I dont understand a single thing, but the editing goes hard and is hilarious

    • @alechemy
      @alechemy Před 2 měsíci +729

      - average fireship viewer

    • @monzerfaisal3673
      @monzerfaisal3673 Před 2 měsíci +133

      It's OK you'll get there! Just make one custom app from scratch

    • @odddellarobbia4
      @odddellarobbia4 Před 2 měsíci +159

      do not ask,just add it into your resume 😂

    • @taavipost1515
      @taavipost1515 Před 2 měsíci +23

      i wish i could understand

    • @comosaycomosah
      @comosaycomosah Před 2 měsíci +12

      ​@@odddellarobbia4💀

  • @ShaharHarshuv
    @ShaharHarshuv Před 2 měsíci +217

    The fact that all of the frameworks become more and more similar is brilliant

    • @PWRGEUTTP
      @PWRGEUTTP Před 2 měsíci

      .

    • @morchidchellali1865
      @morchidchellali1865 Před 2 měsíci +1

      @@PWRGEUTTP is it?

    • @russelfernandes8483
      @russelfernandes8483 Před měsícem

      you would think correct, but no, they have to keep inventing more stuff like React Query....just to keep you on your toes;

    • @Storkz0re
      @Storkz0re Před měsícem

      yes that great, because these were kinda only hard places in React

  • @zerthur
    @zerthur Před 2 měsíci +443

    That Angular namedrop was like Captain America's iconic pose of holding his shield up to his face

  • @ananayarora
    @ananayarora Před 2 měsíci +1526

    "thanks for watching and I will see you in the nextjs one"

  • @Malix_off
    @Malix_off Před 2 měsíci +3373

    Solid, Svelte:
    Look at what they have to do to mimic a fraction of our power

    • @jacksonsingleton
      @jacksonsingleton Před 2 měsíci

      as much as I love svelte. Marketshare...

    • @s1nistr433
      @s1nistr433 Před 2 měsíci +283

      With all of these incredible new changes to React, they hope to make the framework half as good as Svelte by 2060

    • @aberba
      @aberba Před 2 měsíci +1

      ​@@s1nistr433which major companies are using svelte? I've seen and used react almost everywhere

    • @paulm5376
      @paulm5376 Před 2 měsíci +9

      ffs on a deja commencé notre projet transverse en react 😀🔫

    • @marusdod3685
      @marusdod3685 Před 2 měsíci

      @@s1nistr433cope, nothing beats jsx

  • @m-ok-6379
    @m-ok-6379 Před 2 měsíci +150

    jQuery was ridiculously popular because everybody was using the same library and could go from project to project, unlike the JS framework environment that has many options where you have to deal with different frameworks using TS or older versions of the the framework.

    • @sharpenednoodles
      @sharpenednoodles Před 2 měsíci +8

      I think you can still say jQuery is ridiculously popular based on the number of sites running it

    • @mikwee166
      @mikwee166 Před 2 měsíci +12

      Honestly, jQuery’s simplicity is still charming, it’s still a fun library to use, just outdated for most projects.

    • @formapedia
      @formapedia Před 2 měsíci +5

      real devs use Jquery

    • @JovenAlbarida
      @JovenAlbarida Před 2 měsíci +5

      John resig is genius guy, 2006 until now jquery still works a charm and simplified, if people just know how structure it nicely.. Unlike the over bloated frameworks nowadays, particularly react

    • @mikwee166
      @mikwee166 Před 2 měsíci

      I will say though, nowadays I find it complicated to write a whole web app in jQuery.@@JovenAlbarida

  • @codetoil
    @codetoil Před 2 měsíci +56

    Maybe it's time to start considering an EMCA standard for Javascript frameworks...

  • @Paul-zh2jp
    @Paul-zh2jp Před 2 měsíci +1593

    i accidentally spit water on myself at the mention of angular becoming the one true framework

    • @sadsongs7731
      @sadsongs7731 Před 2 měsíci +58

      To me it was the Team America vomit meme again.

    • @bryangomez5951
      @bryangomez5951 Před 2 měsíci +75

      it because it is, btw we are getting native observables in a near future

    • @robbasgaming7044
      @robbasgaming7044 Před 2 měsíci +40

      As a hobby coder I didn't get if it was a joke or not.. 🤔

    • @AlexDubois
      @AlexDubois Před 2 měsíci +22

      I think it was mainly to drive few comments :) Angular is the source

    • @bryangomez5951
      @bryangomez5951 Před 2 měsíci

      @@robbasgaming7044 the favorite framework of Fireship is Angular. He has said that a few times on his videos.

  • @TehRoflizer
    @TehRoflizer Před 2 měsíci +808

    jQuery 4 still supports IE11 but not any older versions - jQuery 5 will drop IE11 (hype!)

    • @Tordah123
      @Tordah123 Před 2 měsíci +77

      I wonder how small will be the userbase of IE11 in 2045

    • @Dekatelon
      @Dekatelon Před 2 měsíci +41

      ​@@Tordah123There will be banks with a selected few mainframe APIs, which are internet explorer based - so they won't go away unless those banks go bankrupt

    • @hugazo
      @hugazo Před 2 měsíci +23

      Even microsoft fropped IE11, time to stop worrying about it

    • @utilizator500
      @utilizator500 Před 2 měsíci +9

      It's over when I say it's over. I don't let stupid mumbo jumbo shit like "end of life" to tell me how to live. He''ll yeah.

    • @thefatnav
      @thefatnav Před 2 měsíci

      💀

  • @sharpenednoodles
    @sharpenednoodles Před 2 měsíci +24

    "And I will see you in the Next.js one"
    nice 😎

  • @basedovi
    @basedovi Před 2 měsíci +20

    Love how Fireship comes out of the closet at the end with Angular 😂❤

  • @_modiX
    @_modiX Před 2 měsíci +297

    I think that's nature really. Frameworks start to adopt and transform to what has shown to work best. We end up with less variety, but that's really whats happening everywhere anywhere.

    • @cedi2929
      @cedi2929 Před 2 měsíci +23

      Yeah I feel like the signal thing is one concrete example where all major js frameworks are getting closer
      Vue has them (AFAIK with a proxy abstraction)
      Angular has em (or coming)
      Svelte
      Solid
      In a few years (if we still write code on our own) we'll be able to choose js frameworks by nuances.

    • @JanVerny
      @JanVerny Před 2 měsíci +12

      ​@@cedi2929There is also a signal implementation for React. It probably doesn't have the best DX, but it looked usable in the tutorials.

    • @cedi2929
      @cedi2929 Před 2 měsíci +2

      @@JanVerny interesting thanks for the insight.

    • @RottenMuLoT
      @RottenMuLoT Před 2 měsíci +1

      And it basically took 30 years.

    • @imachomanjewelry
      @imachomanjewelry Před 2 měsíci +10

      In most disciplines, implementation comes before theory, and good things are born into theory during implementation

  • @jonne719
    @jonne719 Před 2 měsíci +252

    I already lost my shit at "That's right, I use React" part

  • @shobu_serhao
    @shobu_serhao Před 2 měsíci +5

    for vue, the ocmpiler only build the template, the reactivity is based on a proxy system and it's runtime based :)

  • @user-ir3yw8bs4i
    @user-ir3yw8bs4i Před 2 měsíci +249

    React devs are flip flops. They brag about a hook on Tuesday and on Thursday they will tell it’s ugly as we have a new hook to replace it and this cycle goes on and on till life ends

    • @LusidDreaming
      @LusidDreaming Před 2 měsíci +18

      Its insane how much refactor is involved in maintaining a React app if you want to stay current. It seems like every 2 years or so there's a major deprecation or a large portion of the API changed in a breaking way.

    • @Atlastheyote222
      @Atlastheyote222 Před 2 měsíci +25

      ADHD development team tbh

    • @lalithrockz
      @lalithrockz Před 2 měsíci

      Who brags about hooks, just earn money till its relevant.

    • @archmad
      @archmad Před 2 měsíci +5

      Lol you do realize your old code still works on react 18 right? Say that to Angular

    • @benkatz8999
      @benkatz8999 Před 2 měsíci

      Why is agility a bad thing? We use the best method available until theres a better one. Git gud

  • @noelguiavieira
    @noelguiavieira Před 2 měsíci +521

    Angular:
    Oh, a compiler. That's cute

    • @fontchastick2328
      @fontchastick2328 Před 2 měsíci +4

      😂😂😂😂😂😂😂😂😂😂😂

    • @saiphaneeshk.h.5482
      @saiphaneeshk.h.5482 Před 2 měsíci +8

      Sorry didn't get the joke 😢
      Can some one explain?

    • @WewasKangs-bd9eb
      @WewasKangs-bd9eb Před 2 měsíci +101

      ​@@saiphaneeshk.h.5482 It's the Apple's "innovation" moment. Angular has always had compiler. And Angular has always had all the same damn features React is getting lately (but under a different name) because react just wants to confuse us.

    • @anarchoyeasty3908
      @anarchoyeasty3908 Před 2 měsíci +42

      @@WewasKangs-bd9eb To add on to that, Angular having a compiler has been one of the things react devs have derided since React first came out. React is just JS and doesn't have a compiler. Guess not.

    • @ark_knight
      @ark_knight Před 2 měsíci +8

      @@anarchoyeasty3908I don't get it. I mean, you are building the whole damn thing before deploying. What's wrong with a compiler doing its job during building. Maybe a slightly higher build time, but the pros seems definitely better than cons right now.

  • @CosteaMelniciuc
    @CosteaMelniciuc Před 2 měsíci +164

    Yaaay, more time to bill for changing things that don’t actually bring any value to the customer! 🎉❤ thank you frameworks

    • @sunnyarora3557
      @sunnyarora3557 Před 2 měsíci +15

      Yaay we are relevant again

    • @wlockuz4467
      @wlockuz4467 Před 2 měsíci +33

      I swear that's what Meta's devs do to the company but they're just nice enough to do it open source so everyone can do the same to their own company lmao

    • @Daniel15au
      @Daniel15au Před 2 měsíci +8

      You don't have to use new features... Old components keep working as-is.
      Having said that, having to update code is part of standard maintenance when using any framework, regardless of if it's a frontend or backend framework.

  • @4RILDIGITAL
    @4RILDIGITAL Před 2 měsíci +1

    It's impressive to see how big a game changer a compiler can be for React. Looks like all major frameworks are gradually converging. Looking forward to seeing this unfold.

  • @yablaker
    @yablaker Před 2 měsíci +4

    Absolutely love your intense videos man! This is my way of grasping information. It just connects directly to my brain APIs and uploads the data straight to the latent space!
    Too bad YT pays for minutes and not for the information rate..

  • @ezsnova
    @ezsnova Před 2 měsíci +169

    Svelte is just good enough for a simple website developer like me. Many of these new frameworks are just so convoluted with made-up weird syntax to accomplish simple things.
    Simplicity is peak.

    • @flogginga_dead_horse4022
      @flogginga_dead_horse4022 Před 2 měsíci +57

      actually svelte has made up weird syntax though

    • @0M9H4X_Neckbeard
      @0M9H4X_Neckbeard Před 2 měsíci +44

      Sounds like you need to convert to our savior HTMX

    • @jonaslamprecht9169
      @jonaslamprecht9169 Před 2 měsíci +16

      Svelte's syntax looks like shit to me personally, while react is just pure JavaScript.

    • @flogginga_dead_horse4022
      @flogginga_dead_horse4022 Před 2 měsíci

      @@jonaslamprecht9169 but react just had to be "fixed" to make it do things the way vue and svelte do it easily

    • @retagainez
      @retagainez Před 2 měsíci +12

      Many websites need to be just simple. We're not making strategy games in the browser all the time... most websites should just present like a continuous, fancy, powerpoint presentation.

  • @TeaBroski
    @TeaBroski Před 2 měsíci +133

    jQuery mentioned

  • @Voidlord1
    @Voidlord1 Před 2 měsíci +4

    your videos are so good, that even as an ex developer i still love to watch them

  • @andrewleonardi3351
    @andrewleonardi3351 Před 2 měsíci +28

    1:37 Shout out to the Runescape runes!

    • @readywhen
      @readywhen Před 2 měsíci

      shoutout to that little gnome too

    • @Cognitoman
      @Cognitoman Před měsícem +1

      I have all skills maxed

  • @andrewm3406
    @andrewm3406 Před 2 měsíci +52

    RuneScape gnome gets me every time. One of us!

  • @oumardicko5593
    @oumardicko5593 Před 2 měsíci +252

    At this point, i don’t know if react is a UI library or a template engine 🙃

    • @elvispalace
      @elvispalace Před 2 měsíci +47

      ecosystem

    • @aberba
      @aberba Před 2 měsíci +24

      Everything about react is solely focused on UI. Data fetching is part of UI

    • @mauriciomdea
      @mauriciomdea Před 2 měsíci +51

      It's Hell.

    • @Chillycloth
      @Chillycloth Před 2 měsíci +12

      Its a backend framework

    • @leonvdw97
      @leonvdw97 Před 2 měsíci +29

      It's a joke. A 10 year old joke.

  • @brendansully12
    @brendansully12 Před 2 měsíci +30

    I can't believe I'm just finding your channel now. it's so good

  • @user-rz5gu1fy6u
    @user-rz5gu1fy6u Před 2 měsíci +2

    Did you ever consider remaking that old bambo website, great vid by the way

  • @SuperCacazinho
    @SuperCacazinho Před 2 měsíci +77

    The Angular in the end got me rolling haha

  • @nestorrente
    @nestorrente Před 2 měsíci +6

    I don't know about Solid and Svelte, but Vue doesn't need its compiler for the computed() or watchEffect() functions. It resolves dependencies at runtime by listening which reactive values are read when executing the callback (because in Vue everything is a reactive proxy).
    Vue's compiler does different kind of improvements, like template optimization, but has nothing to do with the dependencies check.

  • @tonidev
    @tonidev Před 2 měsíci +2

    I like the violence in the ending - both in Angular and in the footage :D

  • @FredoCorleone
    @FredoCorleone Před 2 měsíci +2

    A project I'm on is IE11 compatible, it's ATM code.

  • @oxymonster1337
    @oxymonster1337 Před 2 měsíci +7

    that Angular at the end hit the back of brain bones

  • @syrus3k
    @syrus3k Před 2 měsíci +5

    This video summarises why I stopped doing frontend stuff around when people started using angular

    • @russelfernandes8483
      @russelfernandes8483 Před 2 měsíci +3

      it was a good idea to limit your focus to java, php, golang, c#, npm, nuget, oracle mysql, mongodb, postgres, supabase, firebase, aws, azure and gcp;

  • @NovaAquarius
    @NovaAquarius Před 2 měsíci +3

    Can we try the compiler any time soon? And when will react 19 be released?

  • @NicolasSilvaVasault
    @NicolasSilvaVasault Před 2 měsíci

    finally, but that means to learn from the ground up all the new things and not slip in the process, i'm hopeful to see this on react native

  • @wuelbercastillo4367
    @wuelbercastillo4367 Před 2 měsíci +9

    Actions DX being like PHP but without Lambos, I lost it there ☠️

  • @harrimahlstrom7706
    @harrimahlstrom7706 Před 2 měsíci +52

    I honestly found Angular the easiest and most intuitive to learn, and also love its “reactive” approach of thinking in streams.❤

    • @stephenpaul7499
      @stephenpaul7499 Před 2 měsíci +5

      Agreed. Once you get passed the steep rxjs learning curve, you arrive at a beautiful place. Async flows are so easy to model and debug. Debugging async stuff in react can be rough.

    • @valikonen
      @valikonen Před 2 měsíci

      yes, but reactivity it's the hard part to master it.

    • @danvilela
      @danvilela Před 2 měsíci +3

      Tried once.. the build was so slow, heavy and clunky that i couldnt go on.. Also.. i hate when people create test files for me (generators). I dont want that crap

    • @codewithryan4646
      @codewithryan4646 Před 2 měsíci +2

      @@danvilela-skip-tests

    • @lgsscout196
      @lgsscout196 Před 2 měsíci +2

      @@danvilela try Angular 17... the build really was slow on previous versions, but in 17 its fast... very fast...

  • @JreesOSRS
    @JreesOSRS Před 2 měsíci +3

    I love the RuneScape reference. Osrs series when?

  • @shaneperreault
    @shaneperreault Před 2 měsíci +1

    Why didn’t you add a cover sheet to your TPS report? Did you get the useMemo?

  • @KyleHarrisonRedacted
    @KyleHarrisonRedacted Před 2 měsíci +9

    Meanwhile I’m over here, waiting to pull the trigger on updating jQuery that exists to simply compliment my PHP/HTMX stack

  • @MCRuCr
    @MCRuCr Před 2 měsíci +23

    Developers! Developers! Developers! Developers!

    • @randerins
      @randerins Před 2 měsíci

      hell, I HATE the remake they made with that dude with shitty accent

  • @Eurotool
    @Eurotool Před 2 měsíci +1

    That mspaint character in the thumbnail gave me flashbacks of 2010 internet. But I can't quite pinpoint where it comes from? Was it a rage comics character?

  • @lucasabaraujo
    @lucasabaraujo Před 2 měsíci +5

    I love how I don't even code (nor know how to) but am able to enjoy myself and understand what you are talking about!

  • @wealthassistant
    @wealthassistant Před 2 měsíci +4

    recently started learning react and I appreciate them tossing out concepts before I bothered to learn them

    • @TwoLeggedTriceratops
      @TwoLeggedTriceratops Před 2 měsíci

      Every couple years they remove an old bandaid and replace it with a new one… until that one starts to smell.

  • @iAmTaki
    @iAmTaki Před 2 měsíci +16

    I didn't understood a word of this video and this is what I love about programming. I can write all these cool C/C++ stuff but when it gets to web development I suck. There's so much more to learn, so much to get better at. Software Enginnering is amazing.

    • @Rayer24
      @Rayer24 Před 2 měsíci +2

      Web dev scares me

    • @InarusLynx
      @InarusLynx Před 2 měsíci

      I started off with c++ -> python -> c# -> javascript(express.js) -> react(next.js).
      Its been a wild ride, but I love full stack development. I find developer humor hularious or get a chuckle out of reading reddit posts bashing frameworks for their bs.

    • @saferugdev8975
      @saferugdev8975 Před 2 měsíci +2

      i got experience in web dev (reactjs), game dev (c# unity3d), and blockchain smart contracts (solidity) and i gotta say all of them have their very abstract sides which are scary, but all of them are also very intuitive once you get a hang of it

    • @SmilingBakedBaguette
      @SmilingBakedBaguette Před 2 měsíci +1

      One could argue that there is so much more to learn in any field. Have you considered Archeology?
      Jokes aside, this changing nature of programming sucks honestly lol. Every 3 years you're having to learn new tools to solve the same old problems.

    • @spaghetti7650
      @spaghetti7650 Před 8 dny

      good mindset brotha, same.
      I come from c++ and it's a completely different compared to the web. I enjoy web dev much more.

  • @kazakx
    @kazakx Před 2 měsíci

    I was looking for Kripke from the big bang theory when saying memoize

  • @Crossfirev
    @Crossfirev Před 2 měsíci +1

    I'm not even a js developer, but I still watch these type of videos from you lol

  • @martijn3151
    @martijn3151 Před 2 měsíci +15

    I’ve been using solid for some time now, and when I looked at that unintuitive react code, I now remember why I never looked back.

    • @nameq
      @nameq Před 2 měsíci

      @@merluzo8269 you dont need a framework or a library to "call functions whenever you want". why so dense? you obviusly know what they meant

  • @user-se8hw9kn3m
    @user-se8hw9kn3m Před 2 měsíci +4

    Angular 17 is awesome btw :D

  • @theacademe
    @theacademe Před 2 měsíci +1

    Wait... is the compiler the big thing, or the compiler macros?

  • @josiaswando9561
    @josiaswando9561 Před 2 měsíci +1

    By curiosity, how angular leads with the useMemo scenario?

    • @o_glethorpe
      @o_glethorpe Před 2 měsíci +3

      In the way like, you don't need to worry about, you choose when you rerender

    • @Mego4884
      @Mego4884 Před 2 měsíci +2

      In Angular < 16 you just decided if you put that function into template (then it will run in every change detection which is uff - not recommended). If you need it in template just use pipe which you explicitly say if its pure/unpure (simplified definition: with or without memo). In Angular >= 16 we have signals and if we use computed() then it's rerendered only when the dependency value has changed - you can choose which dependency attribute you want to track (default) or untrack (wrapped in untracked())

    • @blubblurb
      @blubblurb Před 2 měsíci

      In Vues case it uses proxies. When you change a variable the necessary components will rerender. You don't have to think about it at all.

  • @sf-dk8od
    @sf-dk8od Před 2 měsíci +16

    "PHP without Lambos" killed me

    • @freyfrenzy
      @freyfrenzy Před 2 měsíci +3

      someone pls explain this ;_;

    • @tokens_zimeisha6907
      @tokens_zimeisha6907 Před 2 měsíci +3

      Dollar sign 💲💲...we use 💲 to declare variables in php, and lambos are costly

  • @appletvaccount1364
    @appletvaccount1364 Před 2 měsíci +9

    I watch the code report because I quit software engineering fifteen years ago and have not enough money left over from that time for funding my current life AND for paying a good therapist. "God I'm so glad that I quit" I say to myself every 10 seconds of watching. Best choice ever. I'm so smart. I'm safe now. I'm fine. It was all just a bad dream. Look at that f+++++ hell developers are still going through. React 19 wtf? Hamburger Hill. What an ugly uphill battle. forwardRef W.T.F.?? So glad that I quit. F+++ all that sh+++. I would NEVER touch any of those frameworks ever again. Jesus saved me. I left while I still could. I am fine.

    • @thecoolnewsguy
      @thecoolnewsguy Před 12 dny

      That's so true. It's like a hell and an endless nightmare of pain and suffering trying to catch up with the latest technology 😢

  • @voidmind
    @voidmind Před 2 měsíci +1

    Aren't JSX files already going through a compile step?

  • @BleepBlop-rh9lm
    @BleepBlop-rh9lm Před 2 měsíci +1

    Indeed! If it was built into the browser with the next version of JS that would be great.

  • @s0l0r1d4
    @s0l0r1d4 Před 2 měsíci +5

    4 mins of talking and all I can hear is Svete is better 😂

  • @cherubin7th
    @cherubin7th Před 2 měsíci +8

    this state setState nonsense is still the worst.

  • @bastost
    @bastost Před 2 měsíci +1

    I saw once this extraordinary thing, two frameworks merged: Merb and Rails.

  • @aniksutradhar452
    @aniksutradhar452 Před 2 měsíci

    I understood everything not used react that much though...ig for UI it all comes down to what's best for you lol

  • @user-gi9pm8hm9f
    @user-gi9pm8hm9f Před 2 měsíci

    Haha, nice point about Angular at the end of the video )))

  • @ChemistTea
    @ChemistTea Před 2 měsíci

    If they're all so similar, is it worth learning Svelte for a small app build, or just use Angular which I already know?

  • @Muphet
    @Muphet Před 2 měsíci +2

    Which time it was fixed?

  • @LeNZian
    @LeNZian Před 2 měsíci +1

    We had speciation, and now we're seeing convergent evolution 😌

  • @Alt33347
    @Alt33347 Před 2 měsíci +2

    Love it , did not understand anything but sounds exciting

  • @shiro3146
    @shiro3146 Před 2 měsíci +1

    but now does this make the memory footprint smaller? remmeber discord and chrome already hogging the memory especially older or lower end system

  • @SwapnilSoni
    @SwapnilSoni Před 2 měsíci +1

    I'll see you in Next.js one!

  • @xgcwrought3346
    @xgcwrought3346 Před 2 měsíci +1

    Is typescript still better though even with the react compiler?

  • @joshuajaydan
    @joshuajaydan Před 2 měsíci +1

    I have learned so much React in the last year that this actually makes sense.

  • @jannickbreunis
    @jannickbreunis Před 2 měsíci +1

    I create front-end with AngularJS (learning Angular atm) and I cannot understand what happens in the first two minutes. Why the F would count * 2 be called multiple times if it's saved to a variable?! Especially if it's a const?!

    • @XxZeldaxXXxLinkxX
      @XxZeldaxXXxLinkxX Před 2 měsíci +1

      Because the entire component needs to be re-rendered if one of the variables that it uses for rendering the HTML is changed. If you store a variable in a hook `const [count, setCount] = useState(0)` . This is because these are function components, and as functions they don't have an object instance associated with them. So every time you want to update your HTML, React needs to run the function to generate the component again.
      By binding a variable to a hook, you're "extracting" the variable into the runtime's "memory handler" sorta, so during the next function call it can just retrieve the declared variable from that "memory handler". Without binding it the a hook, the variable is lost once the function goes out of scope, and needs to be created again

  • @abiolaakande9580
    @abiolaakande9580 Před 2 měsíci

    As short and concise as it is, this is only channel I really understood the new features in react 19.

  • @MrBa143
    @MrBa143 Před 2 měsíci +1

    As someone who has yet to switch over to Svelte becuase i love all my libraries in react, should this change anything, or should my goal still be to switch over to Svelte?

  • @roelf8044
    @roelf8044 Před 2 měsíci

    You explained memoization in one sentence❤

  • @WrittenInFilm
    @WrittenInFilm Před 2 měsíci +1

    What we really need, is a framework for updating code of old frameworks.

  • @ayhanarif3906
    @ayhanarif3906 Před 2 měsíci +1

    The last 10 seconds of the video is a masterpiece, hands down!

  • @bondbenz6375
    @bondbenz6375 Před 2 měsíci +1

    We need a video about hyperscript :)

  • @richardflosi
    @richardflosi Před 2 měsíci +1

    When can we start using web components?

  • @dantelooper2283
    @dantelooper2283 Před 2 měsíci +2

    I love this guy, Angular at the end was perfect!
    YOU TELL THEM.

    • @tom7050
      @tom7050 Před 2 měsíci

      angular ... perfect ???
      Is it a troll ?

  • @gleweistam6663
    @gleweistam6663 Před 2 měsíci +1

    Really loved the composition in this video

  • @ludosef5902
    @ludosef5902 Před 2 měsíci

    is useMemo actually faster than just a multiplication operation?

  • @raviteja-mw1mp
    @raviteja-mw1mp Před 2 měsíci +1

    I am Java developer. Wanting to learn some front end. There are so many options and its quite confusing to pick one framework

  • @patco101
    @patco101 Před 2 měsíci +1

    Love how you squized Angular in there😅😅😅

  • @ShawnThroop
    @ShawnThroop Před 2 měsíci +1

    As a writer of mostly Swift, these code examples look bonkers. Mad respect, React devs

  • @Volt-Eye.
    @Volt-Eye. Před 2 měsíci +1

    3:57 we should hold a summit for this, wat do u say guys ?

  • @PetrPopel
    @PetrPopel Před 2 měsíci +1

    I hope that we all go back to good old days. To something like htmx + any backend language and jquery :D

  • @jameslay6505
    @jameslay6505 Před 2 měsíci

    Man that Angular reference killed me at the end

  • @orrenjenkins289
    @orrenjenkins289 Před 2 měsíci

    I'd be interested in your view of the rust framework leptos

    • @danvilela
      @danvilela Před 2 měsíci

      harder and slower than js ones. for rust heads only

  • @peacefulclipper
    @peacefulclipper Před 2 měsíci +1

    3:03 Vaush Reference?

  • @yorox2515
    @yorox2515 Před 2 měsíci +1

    If react is getting an update and we use react in the next js then does it mean we are also getting rid of these hooks in the next.js too??

  • @user-zr6cx4yw8t
    @user-zr6cx4yw8t Před 2 měsíci +1

    Will there even be a reason to learn NextJs after React 19 comes out,? At least until Next goes one step further and implements a new feature again ?

  • @kirso
    @kirso Před 2 měsíci

    Not sure what was going on till 4:08 but I am glad the Angular TL;DR was clear!

  • @SonicAdapter
    @SonicAdapter Před 2 měsíci

    Seemingly convergent evolution works for frameworks as well.

  • @lakhveerchahal
    @lakhveerchahal Před 2 měsíci +2

    You should start using the latest logo of Angular

  • @moneybadger420
    @moneybadger420 Před 2 měsíci +1

    I love the conclusion in the last minute :) go go angular

  • @jsonkody
    @jsonkody Před 2 měsíci +1

    If I need to choose one framework that will be in browser it would be Qwic because how ahead it is or Vue because I work in it 😅

    • @jsonkody
      @jsonkody Před 2 měsíci +2

      .. but they would probably choose worst fmwk out there React because it is popular 😢

  • @Hearrok
    @Hearrok Před 2 měsíci +1

    making Angular a standard build in browsers would be so nice

  • @Salah-YT
    @Salah-YT Před 2 měsíci +2

    React 19: Making developers feel like they're riding a unicorn through a rainbow! 🌈 Can't wait to see if it's smoother than butter on hot toast or just another JavaScript drama. Let the framework wars begin! 💥

  • @shootingdutch
    @shootingdutch Před 2 měsíci +1

    Watching and using these frameworks, I still prefer the simplicity of vanilla JS, never having to worry about upgrades breaking my app and it works everywere: front-end, back-end, mobile apps, desktop. If you solo develop a project and want to run it longterm I still think this is the way to go.

    • @petertyldesley6542
      @petertyldesley6542 Před 2 měsíci +2

      I worked for a company that did this. For simple projects I agree with you, but as it grows in complexity you end up building your own framework. At which point it would have been easier to use an existing framework from the start.

    • @WrittenInFilm
      @WrittenInFilm Před 2 měsíci

      @@petertyldesley6542 we need a framework for migrating to new frameworks

  • @ya4dang1
    @ya4dang1 Před 2 měsíci

    4:00 I expected Elixir/Phoenix though

  • @Kfimenenpah
    @Kfimenenpah Před 2 měsíci +1

    Damn, can't wait for react 19 to be available with react-native