Skip to content
Open
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
4 changes: 2 additions & 2 deletions src/content/reference/react/hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ function ChatRoom({ roomId }) {
* [`useLayoutEffect`](/reference/react/useLayoutEffect) はブラウザが画面を再描画する前に発火します。このフックでレイアウトを測定できます。
* [`useInsertionEffect`](/reference/react/useInsertionEffect) は React が DOM に変更を加える前に発火します。ライブラリは動的な CSS をこのフックで挿入できます。

You can also separate events from Effects:
エフェクトからイベントを分離することもできます:

- [`useEffectEvent`](/reference/react/useEffectEvent) creates a non-reactive event to fire from any Effect hook.
- [`useEffectEvent`](/reference/react/useEffectEvent) は任意のエフェクトフックから発火できる非リアクティブなイベントを作成します。
Copy link

Copilot AI Apr 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

このセクション内の他の箇条書き(useLayoutEffect / useInsertionEffect)は * で始まっていますが、ここだけ - になっていて箇条書き記法が混在しています。同一セクション内では同じマーカー(例: *)に揃えると、Markdown のレンダリングや差分の見通しが安定します。

Suggested change
- [`useEffectEvent`](/reference/react/useEffectEvent) は任意のエフェクトフックから発火できる非リアクティブなイベントを作成します。
* [`useEffectEvent`](/reference/react/useEffectEvent) は任意のエフェクトフックから発火できる非リアクティブなイベントを作成します。

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

原文も*で始まっているため保留

---

## パフォーマンス関連フック {/*performance-hooks*/}
Expand Down
Loading