Uploaded February 2024 | Updated September 2026, 1 week ago
In the previous lesson, we looked at the useMemo hook which allows us to memoize computed values in our React Components to avoid unnecessary recomputations. The memo function also works similarly.
This function allows us to memoize components to avoid unnecessary re-renders and in this lesson, I show with examples, how to use this function.
Resources:
* Course Website: https://simplereact.dev/
You can find the code used in this video here: github.com/dillionmegida/react-course/tree/part-24
Join my discord here: deeecode.com/discord
Timestamp:
00:00 Why useMemo + memo
04:12 Solution without useMemo
06:31 Combining useMemo
_____
Subscribe to My Channel: bit.ly/deeecode
_____
🌟 About Me:
Dillion Megida, creator of DEEECODE, is a Software Engineer, Developer Advocate and a Content Creator passionate about simplifying topics around Tech via articles and videos.
_____
⚡️ Connect with me:
- Personal youtube: youtube.com/c/dillionmegida
- Personal website: dillionmegida.com
- Twitter: twitter.com/iamdillion
- Instagram: instagram.com/deeecode
- LinkedIn: linkedin.com/in/dillionmegida
- GitHub: github.com/dillionmegida
In the previous lesson, we looked at the useMemo hook which allows us to memoize computed values in our React Components to avoid unnecessary recomputations. The memo function also works similarly.
This function allows us to memoize components to avoid unnecessary re-renders and in this lesson, I show with examples, how to use this function.
Resources:
* Course Website: https://simplereact.dev/
You can find the code used in this video here: github.com/dillionmegida/react-course/tree/part-24
Join my discord here: deeecode.com/discord
Timestamp:
00:00 Why useMemo + memo
04:12 Solution without useMemo
06:31 Combining useMemo
_____
Subscribe to My Channel: bit.ly/deeecode
_____
🌟 About Me:
Dillion Megida, creator of DEEECODE, is a Software Engineer, Developer Advocate and a Content Creator passionate about simplifying topics around Tech via articles and videos.
_____
⚡️ Connect with me:
- Personal youtube: youtube.com/c/dillionmegida
- Personal website: dillionmegida.com
- Twitter: twitter.com/iamdillion
- Instagram: instagram.com/deeecode
- LinkedIn: linkedin.com/in/dillionmegida
- GitHub: github.com/dillionmegida










