THAPA TECHNICAL

HOUSE OF WEB DEVELOPERS AND TECHNOLOGY.

useCallback React Hook Explained

React Video Player

Hello guys today we are back with an amazing react hook video, are you excited for this video!!:-) if yes then please watch the video without skipping. In this video I have explained React useCallback hooks in detail which will help your react application run faster.. useCallback will return a memoized version of the callback that only changes if one of the dependencies has changed. This is useful when passing callbacks to optimized child components that rely on reference equality to prevent unnecessary renders


Complete Source Code of the useCallback.js file:



Complete Source Code of the todos.js file:



  • Note:
  • If you want more videos then please like share and dont forget to subscribe my channel & you can suggest me the topics on which you want me to make video in comment section i will definetly work on it.

No comments:

Post a Comment