mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-09-01 05:21:43 +02:00
fix: useMemo details (#6980)
Memorizes" vs. "Memoizes": The term "memorizes" can imply simply remembering something, while "memoizes" is a specific term in computer science meaning to cache the result of a function. Using "memoizes" is more accurate in this context.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# 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.
|
||||
`useMemo` is a React hook that memoizes 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:
|
||||
|
||||
|
Reference in New Issue
Block a user