Learn useCallback React Hook in 10 Minutes | React Hooks Tutorial for Beginners

  Рет қаралды 18,545

Dipesh Malvia

Dipesh Malvia

Күн бұрын

Пікірлер
@rajbannasa7662
@rajbannasa7662 3 жыл бұрын
Thank you so much sir ❤️
@DipeshMalvia
@DipeshMalvia 3 жыл бұрын
Most welcome
@SenthuranElangovan
@SenthuranElangovan 3 жыл бұрын
Thanks, Man.
@DipeshMalvia
@DipeshMalvia 3 жыл бұрын
You're welcome!
@frontendHacks
@frontendHacks 3 жыл бұрын
watch useCallback Hook in Hindi in easy way explained kzbin.info/www/bejne/fZuZaaWEZdt_icU&ab_channel=Front-EndHacks
@shivashankar6043
@shivashankar6043 3 жыл бұрын
Hi, why don't we use react.memo to prevent the rendering instead of call back the function and passing as prop in parent. At the end of thr day react.memo also doing the same. Hope you got my question.
@frontendHacks
@frontendHacks 3 жыл бұрын
watch useCallback Hook in Hindi in easy way explained kzbin.info/www/bejne/fZuZaaWEZdt_icU&ab_channel=Front-EndHacks
@anuragkothare6181
@anuragkothare6181 3 жыл бұрын
Great Explanation.
@frontendHacks
@frontendHacks 3 жыл бұрын
watch useCallback Hook in Hindi in easy way explained kzbin.info/www/bejne/fZuZaaWEZdt_icU&ab_channel=Front-EndHacks
@DeepakGupta-hj2dv
@DeepakGupta-hj2dv 3 жыл бұрын
great Sir it would be happy. .please make on video form validation hook tutorial
@DipeshMalvia
@DipeshMalvia 3 жыл бұрын
Noted
@ahmedabed6652
@ahmedabed6652 3 жыл бұрын
Thank you! what is the difference between React.memo and useMemo() ? in this case of useCallBack() why exactly we need to memorise the function? and rendering means the refresh of the page? thank you!
@DipeshMalvia
@DipeshMalvia 3 жыл бұрын
Hi Ahmed, page refresh and page rendering are two different things. In React rendering means create react element and display it on the screen. As react element are immutable so when you make changes in DOM the component has to rerender to display the updated value. You will never notice a page refresh happens when you click on button or change the state it is just renders the updated DOM. link for reference - reactjs.org/docs/rendering-elements.html www.telerik.com/blogs/what-is-render-react-how-do-you-force-it
@DipeshMalvia
@DipeshMalvia 3 жыл бұрын
They both work same but used at different places. You can use useMemo inside the function component. But React.memo can be used in class component or top level of your function component.
@vickygupta4263
@vickygupta4263 3 жыл бұрын
Nice👍🏻
@frontendHacks
@frontendHacks 3 жыл бұрын
watch useCallback Hook in Hindi in easy way explained kzbin.info/www/bejne/fZuZaaWEZdt_icU&ab_channel=Front-EndHacks
@vlogging-nk
@vlogging-nk 3 жыл бұрын
Hi Dipesh, I really want to know how to do scss compiler to css in ReactJS? Can you please suggest me
@DipeshMalvia
@DipeshMalvia 3 жыл бұрын
Hi Nitesh, I don't have any video on SCSS with React but checkout this article. Hope this will help you - scotch.io/starters/react/adding-sass-to-create-react-app-applications
@vlogging-nk
@vlogging-nk 3 жыл бұрын
@@DipeshMalvia Hi Dipesh, Okay, I will check it out you shared. Thank you for sharing.
@frontendHacks
@frontendHacks 3 жыл бұрын
watch useCallback Hook in Hindi in easy way explained kzbin.info/www/bejne/fZuZaaWEZdt_icU&ab_channel=Front-EndHacks
@hi-yi7en
@hi-yi7en 2 жыл бұрын
Th 👍
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
Learn useEffect In 13 Minutes
13:38
Web Dev Simplified
Рет қаралды 861 М.
Learn React Hooks: useCallback - Simply Explained!
17:15
Cosden Solutions
Рет қаралды 117 М.
useRef hook in reactjs | Easiest way
19:44
Hitesh Choudhary
Рет қаралды 85 М.
Why Signals Are Better Than React Hooks
16:30
Web Dev Simplified
Рет қаралды 499 М.
Don't use Hooks in REACT without knowing this...
20:33
Sonny Sangha
Рет қаралды 57 М.
Learn useMemo and React Memo for Faster Apps
10:02
Lama Dev
Рет қаралды 73 М.
Learn React Hooks: useRef - Simply Explained!
12:42
Cosden Solutions
Рет қаралды 124 М.