6 React Concepts That Will be Obsolete in 2024

Поділитися
Вставка
  • Опубліковано 30 вер 2024

КОМЕНТАРІ • 42

  • @anon3746
    @anon3746 6 місяців тому +1

    The future of React is Svelte.
    Svelte was better than React, because it had a compiler. A compiler that could handle some of the logic for you, allowing Svelte to work with less instructions than React.
    But now, React got a compiler... so there's nothing stopping them from ripping of Svelte and in 6 months they'll be indistinguishable.

  • @mdb098
    @mdb098 6 місяців тому +5

    Your description of useCallback is wrong. It has nothing to do with the function doing something expensive because useCallback doesn't cache the result of the function. useCallback only facilitates skipping the re-rendering of subcomponents to which you pass the function.

    • @moneyaigency
      @moneyaigency 6 місяців тому +2

      Goes to show how these influencers don't know shit what they're talking about

    • @Sharmapawan98
      @Sharmapawan98 4 місяці тому

      Hi, Can you please elaborate on this one ? I need this for my interview.

  • @Hhammer
    @Hhammer 6 місяців тому +8

    I think saying obsolete is a bit much. So many companies use specific versions and won’t be using the new updates for a few years.
    But it’s great to see positive changes being introduced and I appreciate the video - very clear! And I hate useMemo and Callback, so this is great

    • @PedroTechnologies
      @PedroTechnologies  6 місяців тому +1

      I agree hahaha like i said, these are not breaking changes cause companies need time to upgrade their react versions. Many companies still haven't upgraded to react 18

  • @singhramneek3358
    @singhramneek3358 6 місяців тому +3

    introducing memoization will make everything so easy

  • @botondvasvari5758
    @botondvasvari5758 6 місяців тому +1

    react is a cryptic shit

  • @mordernmonk194
    @mordernmonk194 6 місяців тому +4

    thanks pedrotech

  • @Goku-zu3rk
    @Goku-zu3rk 6 місяців тому +2

    That sounds very nice. useEffect was always...tricky haha.

  • @amerrashed6287
    @amerrashed6287 3 місяці тому

    in 2024, React is obselet. Htmx is trending ..so we need tutorial for htmx !😅

  • @anantgupta5806
    @anantgupta5806 Місяць тому

    nice content bro carry on making stuff like this

  • @spag5296
    @spag5296 6 місяців тому +1

    I've been going through your 2022 beginner react course but I worry now what i learn isnt relevant anymore.. will you be doing an updated course for 2024?

    • @PedroTechnologies
      @PedroTechnologies  6 місяців тому

      I can make an update one :) Also, that one is still very relevant. Just skip the topics I mentioned in this video. Almost all of the rest is still the same!

  • @sandyGamer97
    @sandyGamer97 6 місяців тому +1

    Hi Pedro, in my organisation, whole components are wrapped with forward ref and we are using imperativehandle hook to create custom methods for page level validation and focus etc so with new react compiler you are saying, we can create custom ref method in child methods with imperative handle and can access directly in parent component without wrapping child component with forward ref? 😅

    • @PedroTechnologies
      @PedroTechnologies  6 місяців тому

      I believe that technically the useImperativeHandle hook will remain present and useful for situations like yours. The main change is related to how you get the ref to the hook.

  • @mordernmonk194
    @mordernmonk194 6 місяців тому +2

    1st

  • @piotrszymanski8325
    @piotrszymanski8325 6 місяців тому +1

    Great vid as always. I really would like to see the vid about how useEffect is used wrong. I have a feeling it would be very helpful.

  • @muhsinabbas1181
    @muhsinabbas1181 6 місяців тому +1

    You think one day some things just like for react native😊

  • @hammadXP
    @hammadXP 6 місяців тому +2

    Thanks Pedro ❤

  • @frischsticks
    @frischsticks 6 місяців тому +1

    As someone still learning React, I appreciate videos like these especially, so that I don't waste further time learning these concepts. It's also nice when you sit and break down your favorite x,y,z.

  • @singhramneek3358
    @singhramneek3358 6 місяців тому +1

    Following you daily for the past week... love your tutorials

  • @DallBelloCamila
    @DallBelloCamila 6 місяців тому +1

    Wow! Great video.

  • @sjonny-depp
    @sjonny-depp 6 місяців тому

    React and Nuxt is so frustrating with many bugs that I am moving to Nuxt and Vue

  • @osamayousuf4846
    @osamayousuf4846 6 місяців тому +1

    buddy you are a savior.

  • @naolkebede321
    @naolkebede321 6 місяців тому

    Build a cart and shopping page with it it will explain everything and get the products list from an api and also in the end atlist console log the product on submit from cart

  • @crazyondaime
    @crazyondaime 6 місяців тому +2

    Do you think I should rewrite my old React codebases (for job application projects) to use the new features, or can I keep them as they are?

    • @PedroTechnologies
      @PedroTechnologies  6 місяців тому

      No, just built update as you build more projects, no need to change the old ones.

  • @blackbeans3112
    @blackbeans3112 5 місяців тому

    What about the useState it is also obsolete?

    • @raviel_0422
      @raviel_0422 5 місяців тому +1

      no, that will probably take a long time to get obselete.

  • @Razax7
    @Razax7 6 місяців тому

    so what's the alternative of useEffect?

  • @princebautista
    @princebautista 6 місяців тому

    3:40 and 3:44

  • @quoclam7140
    @quoclam7140 6 місяців тому

    Yes please make a video about useEffect

  • @rachayyamathapati627
    @rachayyamathapati627 6 місяців тому +1

  • @godofwar8262
    @godofwar8262 6 місяців тому +2

    Hey bro can you tell should it require to learn backend before next js and if so than how much some average time to cover it

    • @PedroTechnologies
      @PedroTechnologies  6 місяців тому +1

      Not really! I recommend learning frontend first by using pubicly available API's

    • @godofwar8262
      @godofwar8262 6 місяців тому

      @@PedroTechnologies i have learn react js and going to learn typescript than next js that would correct or not

  • @ValeriiLutiy
    @ValeriiLutiy 6 місяців тому

    Подякував