Skip to content

Commit dbc449f

Browse files
committed
Fix typo, memorized -> memoized in learn typescript useMemo docs
1 parent a1cc2ab commit dbc449f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/learn/typescript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ function MyComponent() {
335335

336336
</Note>
337337

338-
The [`useMemo`](/reference/react/useMemo) Hooks will create/re-access a memorized value from a function call, re-running the function only when dependencies passed as the 2nd parameter are changed. The result of calling the Hook is inferred from the return value from the function in the first parameter. You can be more explicit by providing a type argument to the Hook.
338+
The [`useMemo`](/reference/react/useMemo) Hooks will create/re-access a memoized value from a function call, re-running the function only when dependencies passed as the 2nd parameter are changed. The result of calling the Hook is inferred from the return value from the function in the first parameter. You can be more explicit by providing a type argument to the Hook.
339339

340340
```ts
341341
// The type of visibleTodos is inferred from the return value of filterTodos

0 commit comments

Comments
 (0)