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:
Saeed
2024-09-04 03:20:48 +06:00
committed by GitHub
parent ac18df727f
commit b78252be59
@@ -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: