6 React Concepts That Will be Obsolete in 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
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
4 ай бұрын
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
That sounds very nice. useEffect was always...tricky haha.
introducing memoization will make everything so easy
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
3 ай бұрын
Goes to show how these influencers don't know shit what they're talking about
@Sharmapawan98
Ай бұрын
Hi, Can you please elaborate on this one ? I need this for my interview.
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.
@PedroTechnologies
4 ай бұрын
I can make one!!
Following you daily for the past week... love your tutorials
@PedroTechnologies
4 ай бұрын
Awesome! Thank you!
thanks pedrotech
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
4 ай бұрын
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.
so what's the alternative of useEffect?
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
Thanks Pedro ❤
Wow! Great video.
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
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!
buddy you are a savior.
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.
@PedroTechnologies
4 ай бұрын
Glad you like them!
Yes please make a video about useEffect
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
4 ай бұрын
Not really! I recommend learning frontend first by using pubicly available API's
@godofwar8262
4 ай бұрын
@@PedroTechnologies i have learn react js and going to learn typescript than next js that would correct or not
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.
What about the useState it is also obsolete?
@monoq_
2 ай бұрын
no, that will probably take a long time to get obselete.
You think one day some things just like for react native😊
@PedroTechnologies
4 ай бұрын
Probably!! But it will take some time
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
4 ай бұрын
No, just built update as you build more projects, no need to change the old ones.
React and Nuxt is so frustrating with many bugs that I am moving to Nuxt and Vue
❤
3:40 and 3:44
Подякував
1st
react is a cryptic shit
in 2024, React is obselet. Htmx is trending ..so we need tutorial for htmx !😅