Let's get back to React hooks, focusing on performance with useMemo and useCallback. These two allow you to avoid having to re-execute computationally expensive functions (useMemo) or store entire functions, preventing them from being re-initialized with each re-render (useCallback).
Specifically:
00:00 Intro
01:41 What is useMemo for?
02:35 Key points of useMemo
03:00 Implementation of useMemo
10:55 What is useCallback for?
11:29 Key Points of useCallback
11:50 Implementation of useCallback
More information on the course lessons: https://www.manuelricci.com/corsi-gra...
Want to recommend a course? You can do so by filling out this form: https://forms.gle/yh4YGrdGdbKcwQQS9
Subscribe to Learn Coding with Manuel: / @webtealearning
----------------------------------------------------------------------------------------
Follow me on social media:
TikTok: / manuelricci.wt
Instagram: / manuelricci.wt
LinkedIn: / riccimanuel
----------------------------------------------------------------------------------------
For further information and courses, visit:
https://www.manuelricci.com