In this video, I'm gonna show you how to use useCallback hook in React. Also I'm gonna cover why you should use it, how it relates to memo function and what's the difference between useCallback and useMemo hook.
🧿 I discussed:
✔️How to use useCallback hook in React
✔️Why you should use useCallback hook in React
✔️How it's related to React memo function
✔️What is the difference between useCallback and useMemo
************************************************************
Previous Video: • Stop Re-Rendering In React (memo) | #...
Next video: • useMemo Hook in React | #28 React Course
Full series • Full React Course
************************************************************
0:00 Intro
2:05 Create hello function for props
4:18 Implement useCallback
5:48 Outro
************************************************************
👉 Patreon:
✔️ / codewithsloba
👉 Become a better developer with 2 minutes a day:
✔️https://codewithsloba.com
👉 Linkedin:
✔️ / slobodan-gajic
👉 Instagram:
✔️ / codewithsloba