Skip to content

Commit e59729e

Browse files
authored
Merge pull request #796 from reactjs/fix-escape-hatch-index
Typo
2 parents 48913bd + 4a9ad12 commit e59729e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/learn/escape-hatches.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ input { display: block; margin-bottom: 20px; }
191191

192192
</LearnMore>
193193

194-
## そのエフェクトは必要かも {/*you-might-not-need-an-effect*/}
194+
## そのエフェクトは不要かも {/*you-might-not-need-an-effect*/}
195195

196196
エフェクトは React のパラダイムからの避難ハッチです。React の外に「踏み出して」、何らかの外部システムと同期させることができるものです。外部システムが関与していない場合(例えば、props や state の変更に合わせてコンポーネントの state を更新したい場合)、エフェクトは必要ありません。不要なエフェクトを削除することで、コードが読みやすくなり、実行速度が向上し、エラーが発生しにくくなります。
197197

0 commit comments

Comments
 (0)