From 6f38e296104c49d7511bbcf11670bdcddcdd435f Mon Sep 17 00:00:00 2001 From: Raghunath Prabhakar <82239949+Raghuboi@users.noreply.github.com> Date: Fri, 15 Aug 2025 04:44:49 -0500 Subject: [PATCH] docs(react): clarify useMemo initial render description 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 f0bdd77fb12..a01bb78d671 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.