watch useCallback Hook in Hindi in easy way explained kzbin.info/www/bejne/fZuZaaWEZdt_icU&ab_channel=Front-EndHacks
@shivashankar60433 жыл бұрын
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.
@frontendHacks3 жыл бұрын
watch useCallback Hook in Hindi in easy way explained kzbin.info/www/bejne/fZuZaaWEZdt_icU&ab_channel=Front-EndHacks
@anuragkothare61813 жыл бұрын
Great Explanation.
@frontendHacks3 жыл бұрын
watch useCallback Hook in Hindi in easy way explained kzbin.info/www/bejne/fZuZaaWEZdt_icU&ab_channel=Front-EndHacks
@DeepakGupta-hj2dv3 жыл бұрын
great Sir it would be happy. .please make on video form validation hook tutorial
@DipeshMalvia3 жыл бұрын
Noted
@ahmedabed66523 жыл бұрын
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!
@DipeshMalvia3 жыл бұрын
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
@DipeshMalvia3 жыл бұрын
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.
@vickygupta42633 жыл бұрын
Nice👍🏻
@frontendHacks3 жыл бұрын
watch useCallback Hook in Hindi in easy way explained kzbin.info/www/bejne/fZuZaaWEZdt_icU&ab_channel=Front-EndHacks
@vlogging-nk3 жыл бұрын
Hi Dipesh, I really want to know how to do scss compiler to css in ReactJS? Can you please suggest me
@DipeshMalvia3 жыл бұрын
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-nk3 жыл бұрын
@@DipeshMalvia Hi Dipesh, Okay, I will check it out you shared. Thank you for sharing.
@frontendHacks3 жыл бұрын
watch useCallback Hook in Hindi in easy way explained kzbin.info/www/bejne/fZuZaaWEZdt_icU&ab_channel=Front-EndHacks