From 0f22ac21bb3efd1e975952547b36c771335e177a Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Thu, 9 Jul 2026 17:14:29 +0000 Subject: [PATCH] docs: fix confusing useMemo initial render wording (fixes #7752) --- src/content/reference/react/useMemo.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/reference/react/useMemo.md b/src/content/reference/react/useMemo.md index e8552e1666c..917d726fb85 100644 --- a/src/content/reference/react/useMemo.md +++ b/src/content/reference/react/useMemo.md @@ -50,7 +50,7 @@ function TodoList({ todos, tab }) { #### Returns {/*returns*/} -On the initial render, `useMemo` returns the result of calling `calculateValue` with no arguments. +On the initial render, `useMemo` returns the result of calling `calculateValue`. During next renders, it will either return an already stored value from the last render (if the dependencies haven't changed), or call `calculateValue` again, and return the result that `calculateValue` has returned.