1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-01-29 12:18:23 +01:00

Add resources to useMemo hook (#6316)

* Update usememo@w3bNp7OkehI1gjx8NzlC8.md

* Update src/data/roadmaps/react/content/usememo@w3bNp7OkehI1gjx8NzlC8.md

---------

Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
This commit is contained in:
Nazrul Islam 2024-08-01 16:17:24 +05:30 committed by GitHub
parent 65d2ab2cff
commit fd7917cff8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1 +1,8 @@
# useMemo
# useMemo
useMemo is a React hook that memorizes the result of a function. It is used to optimize performance by caching the result of a function and returning the cached result when the inputs to the function have not changed.
Learn more from the following resources:
- [@official@useMemo Docs](https://react.dev/reference/react/useMemo)
- [@article@useMemo and useCallback - Josh W. Comeau](https://www.joshwcomeau.com/react/usememo-and-usecallback/)