6 React Concepts That Will be Obsolete in 2024

Поделиться
HTML-код
  • Опубликовано: 13 июн 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
  • НаукаНаука

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

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

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

  • @mdb098
    @mdb098 3 месяца назад +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 2 месяца назад +1

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

    • @gamingwithpawan9455
      @gamingwithpawan9455 16 дней назад

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

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

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

    introducing memoization will make everything so easy

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

    Wow! Great video.

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

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

    thanks pedrotech

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

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

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

    Thanks Pedro ❤

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

    so what's the alternative of useEffect?

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

    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

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

    Yes please make a video about useEffect

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

      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!

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

    buddy you are a savior.

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

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

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

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

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

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

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

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

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

    What about the useState it is also obsolete?

    • @rin0422
      @rin0422 Месяц назад +1

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

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

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

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

    Подякував

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

    3:40 and 3:44

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

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

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

    1st

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

    react is a cryptic shit