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.
@moneyaigency7 ай бұрын
Goes to show how these influencers don't know shit what they're talking about
@Sharmapawan986 ай бұрын
Hi, Can you please elaborate on this one ? I need this for my interview.
@Hhammer8 ай бұрын
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
@PedroTechnologies8 ай бұрын
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
@singhramneek33588 ай бұрын
introducing memoization will make everything so easy
@Goku-zu3rk8 ай бұрын
That sounds very nice. useEffect was always...tricky haha.
@piotrszymanski83258 ай бұрын
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.
@PedroTechnologies8 ай бұрын
I can make one!!
@mordernmonk1948 ай бұрын
thanks pedrotech
@sandyGamer978 ай бұрын
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? 😅
@PedroTechnologies8 ай бұрын
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.
@singhramneek33588 ай бұрын
Following you daily for the past week... love your tutorials
@PedroTechnologies8 ай бұрын
Awesome! Thank you!
@hammadXP8 ай бұрын
Thanks Pedro ❤
@osamayousuf48468 ай бұрын
buddy you are a savior.
@anantgupta58063 ай бұрын
nice content bro carry on making stuff like this
@DallBelloCamila8 ай бұрын
Wow! Great video.
@crazyondaime8 ай бұрын
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?
@PedroTechnologies8 ай бұрын
No, just built update as you build more projects, no need to change the old ones.
@naolkebede3218 ай бұрын
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
@spag52968 ай бұрын
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?
@PedroTechnologies8 ай бұрын
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!
@Razax78 ай бұрын
so what's the alternative of useEffect?
@evgenymikheev4462Ай бұрын
Do signals come in React any soon.?
@godofwar82628 ай бұрын
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
@PedroTechnologies8 ай бұрын
Not really! I recommend learning frontend first by using pubicly available API's
@godofwar82628 ай бұрын
@@PedroTechnologies i have learn react js and going to learn typescript than next js that would correct or not
@frischsticks8 ай бұрын
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.
@PedroTechnologies8 ай бұрын
Glad you like them!
@quoclam71408 ай бұрын
Yes please make a video about useEffect
@sjonny-depp8 ай бұрын
React and Nuxt is so frustrating with many bugs that I am moving to Nuxt and Vue
@blackbeans31127 ай бұрын
What about the useState it is also obsolete?
@raviel_04227 ай бұрын
no, that will probably take a long time to get obselete.
@muhsinabbas11818 ай бұрын
You think one day some things just like for react native😊
@PedroTechnologies8 ай бұрын
Probably!! But it will take some time
@princebautista8 ай бұрын
3:40 and 3:44
@rachayyamathapati6278 ай бұрын
❤
@ValeriiLutiy8 ай бұрын
Подякував
@botondvasvari57588 ай бұрын
react is a cryptic shit
@amerrashed62875 ай бұрын
in 2024, React is obselet. Htmx is trending ..so we need tutorial for htmx !😅