File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ function FriendStatus(props) {
128
128
}
129
129
```
130
130
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 ) 方法があります)
132
132
133
133
` useState ` の場合と同様、1 つのコンポーネント内で 2 つ以上の副作用を使用することが可能です。
134
134
Original file line number Diff line number Diff line change 126
126
- title : Contributing
127
127
items :
128
128
- id : how-to-contribute
129
- title : How to Contribute
129
+ title : 貢献の方法
130
130
- id : codebase-overview
131
131
title : Codebase Overview
132
132
- id : implementation-notes
133
133
title : Implementation Notes
134
134
- id : design-principles
135
- title : Design Principles
135
+ title : 設計原則
136
136
- title : FAQ
137
137
items :
138
138
- id : faq-ajax
You can’t perform that action at this time.
0 commit comments