Skip to content

Commit c3b7a33

Browse files
authored
Merge branch 'master' into feature/fix_spelling_variants_of_error_boundary
2 parents b266baf + 45f50d5 commit c3b7a33

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

content/docs/hooks-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ function FriendStatus(props) {
128128
}
129129
```
130130

131-
以下の例では、コンポーネントがアンマウントされる時や再レンダーによって副作用が再実行時される時に `ChatAPI` の購読解除を行っています。(必要なら、`ChatAPI` に渡すための `props.friend.id` が変わっていない場合には[毎回購読しなおす処理をスキップする](/docs/hooks-effect.html#tip-optimizing-performance-by-skipping-effects)方法があります)
131+
この例では、コンポーネントがアンマウントされる時や再レンダーによって副作用が再実行時される時に `ChatAPI` の購読解除を行っています。(必要なら、`ChatAPI` に渡すための `props.friend.id` が変わっていない場合には[毎回購読しなおす処理をスキップする](/docs/hooks-effect.html#tip-optimizing-performance-by-skipping-effects)方法があります)
132132

133133
`useState` の場合と同様、1 つのコンポーネント内で 2 つ以上の副作用を使用することが可能です。
134134

content/docs/nav.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,13 @@
126126
- title: Contributing
127127
items:
128128
- id: how-to-contribute
129-
title: How to Contribute
129+
title: 貢献の方法
130130
- id: codebase-overview
131131
title: Codebase Overview
132132
- id: implementation-notes
133133
title: Implementation Notes
134134
- id: design-principles
135-
title: Design Principles
135+
title: 設計原則
136136
- title: FAQ
137137
items:
138138
- id: faq-ajax

0 commit comments

Comments
 (0)