Skip to content

Commit d711e53

Browse files
authored
Merge pull request #675 from shoota/fix_link_to_state
fix: fix link path
2 parents 5b93867 + c7a3ed4 commit d711e53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/learn/responding-to-events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ button { margin-left: 5px; }
520520
521521
もちろんです! イベントハンドラは副作用のための最適な場所です。
522522
523-
レンダー関数とは異なり、イベントハンドラは[純関数 (pure function)](/learn/keeping-components-pure) である必要はないので、何かを*変更*するのに最適な場所です。たとえば、入力値をタイプに応じて変更する、ボタンの押下に応じてリストを変更する、などです。ただし、情報を変更するためには、まずそれを格納する方法が必要です。React では、これは [state、コンポーネントのメモリ](/learn/state-a-component-memory)を使用して行います。次のページでそのすべてを学びます。
523+
レンダー関数とは異なり、イベントハンドラは[純関数 (pure function)](/learn/keeping-components-pure) である必要はないので、何かを*変更*するのに最適な場所です。たとえば、入力値をタイプに応じて変更する、ボタンの押下に応じてリストを変更する、などです。ただし、情報を変更するためには、まずそれを格納する方法が必要です。React では、これは [state、コンポーネントのメモリ](/learn/state-a-components-memory)を使用して行います。次のページでそのすべてを学びます。
524524
525525
<Recap>
526526

0 commit comments

Comments
 (0)