Skip to content

Commit 6f38e29

Browse files
committed
docs(react): clarify useMemo initial render description
Fixes #7752
1 parent e9a7cb1 commit 6f38e29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/reference/react/useMemo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function TodoList({ todos, tab }) {
5050

5151
#### Returns {/*returns*/}
5252

53-
On the initial render, `useMemo` returns the result of calling `calculateValue` with no arguments.
53+
On the initial render, `useMemo` returns the result of calling `calculateValue`.
5454

5555
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.
5656

0 commit comments

Comments
 (0)