6 React Concepts That Will be Obsolete in 2024

Поделиться
HTML-код
  • Опубликовано: 5 авг 2024
  • In this video I will go over some of the changes that are going to happen in React 19 by explaining what will become obsolete in the newer version.
    Join our Discord: / discord
    🚀 Learn ReactJS By Building 6 Projects: codedamn.com/learn/reactjs-pr...
    🐙 GraphQL Course: codedamn.com/learn/graphql-fo...
    Social
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    Website: machadopedro.com
    Linkedin: / machadop1407
    Instagram: / pedro.fmachado_
    Github: github.com/machadop1407
    Business Email: pedro@pedrotech.co
    🌟 Gear / Hardware I Use and Recommend 🌟
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    💻 amzn.to/42kqFuM 💻 Monitor
    🖱️amzn.to/3C0ZhHb 🖱️ Mouse
    📷 amzn.to/3OHJvbM 📷 My Camera
    🎤 amzn.to/3oxSthj 🎤 My Microphone
    ⌨️ amzn.to/3oFPpj1 ⌨️ My Microphone
    ⚡ amzn.to/3MYMnzM ⚡ LED Lights In the Background
    Tags:
    - ReactJS Tutorial
    - ReactJS and MySQL
    - NodeJS Tutorial
    - API Tutorial
    ..........
    ♬ MUSIC ♬
    Artist: tubebackr
    Track: Chill With Me
    @tubebackr
    hypeddit.com/tubebackr/chillwithme-1
    .............
    #reactjs #coding
  • НаукаНаука

Комментарии • 41

  • @mdb098
    @mdb098 4 месяца назад +4

    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 4 месяца назад +1

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

    • @Sharmapawan98
      @Sharmapawan98 2 месяца назад

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

  • @Goku-zu3rk
    @Goku-zu3rk 5 месяцев назад +2

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

  • @sandyGamer97
    @sandyGamer97 5 месяцев назад +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  5 месяцев назад

      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.

  • @piotrszymanski8325
    @piotrszymanski8325 5 месяцев назад +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.

  • @user-im3yq6ru6w
    @user-im3yq6ru6w 5 месяцев назад +1

    Wow! Great video.

  • @mordernmonk194
    @mordernmonk194 5 месяцев назад +4

    thanks pedrotech

  • @Hhammer
    @Hhammer 5 месяцев назад +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  5 месяцев назад +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 5 месяцев назад +3

    introducing memoization will make everything so easy

  • @hammadXP
    @hammadXP 5 месяцев назад +2

    Thanks Pedro ❤

  • @Razax7
    @Razax7 4 месяца назад

    so what's the alternative of useEffect?

  • @spag5296
    @spag5296 5 месяцев назад +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  4 месяца назад

      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!

  • @singhramneek3358
    @singhramneek3358 5 месяцев назад +1

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

  • @osamayousuf4846
    @osamayousuf4846 5 месяцев назад +1

    buddy you are a savior.

  • @naolkebede321
    @naolkebede321 5 месяцев назад

    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

  • @frischsticks
    @frischsticks 5 месяцев назад +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.

  • @quoclam7140
    @quoclam7140 4 месяца назад

    Yes please make a video about useEffect

  • @crazyondaime
    @crazyondaime 5 месяцев назад +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  5 месяцев назад

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

  • @godofwar8262
    @godofwar8262 5 месяцев назад +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  5 месяцев назад +1

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

    • @godofwar8262
      @godofwar8262 5 месяцев назад

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

  • @blackbeans3112
    @blackbeans3112 3 месяца назад

    What about the useState it is also obsolete?

    • @monoq_
      @monoq_ 3 месяца назад +1

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

  • @anon3746
    @anon3746 4 месяца назад +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.

  • @muhsinabbas1181
    @muhsinabbas1181 5 месяцев назад +1

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

  • @rachayyamathapati627
    @rachayyamathapati627 5 месяцев назад +1

  • @sjonny-depp
    @sjonny-depp 5 месяцев назад

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

  • @princebautista
    @princebautista 4 месяца назад

    3:40 and 3:44

  • @ValeriiLutiy
    @ValeriiLutiy 5 месяцев назад

    Подякував

  • @mordernmonk194
    @mordernmonk194 5 месяцев назад +2

    1st

  • @botondvasvari5758
    @botondvasvari5758 5 месяцев назад +1

    react is a cryptic shit

  • @amerrashed6287
    @amerrashed6287 Месяц назад

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