From b78252be59de021a7127e06c2af16afe46167b83 Mon Sep 17 00:00:00 2001 From: Saeed <32861976+saeid1994@users.noreply.github.com> Date: Wed, 4 Sep 2024 00:50:48 +0330 Subject: [PATCH] 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. --- .../roadmaps/react/content/usememo@w3bNp7OkehI1gjx8NzlC8.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/roadmaps/react/content/usememo@w3bNp7OkehI1gjx8NzlC8.md b/src/data/roadmaps/react/content/usememo@w3bNp7OkehI1gjx8NzlC8.md index 426ce105d..bd9a85e99 100644 --- a/src/data/roadmaps/react/content/usememo@w3bNp7OkehI1gjx8NzlC8.md +++ b/src/data/roadmaps/react/content/usememo@w3bNp7OkehI1gjx8NzlC8.md @@ -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: