Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/content/reference/react/useCallback.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const cachedFn = useCallback(fn, dependencies)

<Note>

[React Compiler](/learn/react-compiler) automatically memoizes values and functions, reducing the need for manual `useCallback` calls. You can use the compiler to handle memoization automatically.
[React Compiler](/learn/react-compiler) memoiza automaticamente valores e funções, reduzindo a necessidade de chamadas manuais de `useCallback`. Você pode usar o React Compiler para memoizar automaticamente.

</Note>

Expand Down
2 changes: 1 addition & 1 deletion src/content/reference/react/useMemo.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const cachedValue = useMemo(calculateValue, dependencies)

<Note>

[React Compiler](/learn/react-compiler) automatically memoizes values and functions, reducing the need for manual `useMemo` calls. You can use the compiler to handle memoization automatically.
[React Compiler](/learn/react-compiler) memoiza automaticamente valores e funções, reduzindo a necessidade de chamadas manuais de `useMemo`. Você pode usar o React Compiler para memoizar automaticamente.

</Note>

Expand Down