Skip to content

Commit cc2fad4

Browse files
smikitkykoba04
andauthored
Update src/content/reference/react/useEffect.md
Co-authored-by: Toru Kobayashi <koba0004@gmail.com>
1 parent e4eda98 commit cc2fad4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/reference/react/useEffect.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ export default function Box() {
500500
501501
---
502502
503-
### カスタムフックに効果をラップする {/*wrapping-effects-in-custom-hooks*/}
503+
### カスタムフックに副作用をラップする {/*wrapping-effects-in-custom-hooks*/}
504504
505505
副作用は[「避難ハッチ」](/learn/escape-hatches)です。React の外に出る必要があり、かつ特定のユースケースに対してより良い組み込みのソリューションがない場合に使用します。副作用を手で何度も書く必要があることに気付いたら、通常それは、あなたのコンポーネントが依存する共通の振る舞いのための[カスタムフック](/learn/reusing-logic-with-custom-hooks)を抽出する必要があるというサインです。
506506

0 commit comments

Comments
 (0)