Skip to content

Commit

Permalink
Update src/content/reference/react/cache.md
Browse files Browse the repository at this point in the history
Co-authored-by: Soichiro Miki <[email protected]>
  • Loading branch information
locol23 and smikitky authored Oct 12, 2023
1 parent d4fa7d5 commit c870b77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/reference/react/cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ Promise がすでに解決している場合、エラーまたは _fulfilled_
<Pitfall>
##### コンポーネントの外部でメモ化された関数を呼び出すと、キャッシュは使用されません。{/*pitfall-memoized-call-outside-component*/}
##### メモ化された関数をコンポーネント外で呼び出すとキャッシュは使用されない {/*pitfall-memoized-call-outside-component*/}
```jsx [[1, 3, "getUser"]]
import {cache} from 'react';
Expand Down

0 comments on commit c870b77

Please sign in to comment.