Skip to content

Commit cf425a7

Browse files
koba04lightnet328
andcommitted
Update content/docs/reference-react-component.md
Co-Authored-By: lightnet328 <lightnet328@gmail.com>
1 parent 095e7e7 commit cf425a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/docs/reference-react-component.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ UNSAFE_componentWillReceiveProps(nextProps)
455455
> このライフサイクルメソッドを使用すると、しばしばバグや矛盾が発生します。
456456
>
457457
> * props の変更に応じて**副作用を実行する**必要がある場合は(データの取得やアニメーションなど)、代わりに [`componentDidUpdate`](#componentdidupdate) ライフサイクルを使用してください
458-
> * `componentWillReceiveProps`** props が変更されたときにのみデータを再計算する**ために使う代わりに、[メモ化ヘルパーを使用してください](/blog/2018/06/07/you-probably-dont-need-derived-state.html#what-about-memoization)
458+
> * `componentWillReceiveProps` **props が変更されたときにのみデータを再計算する**ために使う代わりに、[メモ化ヘルパーを使用してください](/blog/2018/06/07/you-probably-dont-need-derived-state.html#what-about-memoization)
459459
> * `componentWillReceiveProps`**props が変更されたときに何かの state を「リセット」する**ために使う代わりに、コンポーネントを[完全に制御する](/blog/2018/06/07/you-probably-dont-need-derived-state.html#recommendation-fully-controlled-component)か、または [`key` を使って全く制御しない](/blog/2018/06/07/you-probably-dont-need-derived-state.html#recommendation-fully-uncontrolled-component-with-a-key)かを検討してください
460460
>
461461
> その他の使用例については、[派生 state に関するこのブログ投稿の推奨事項に従ってください](/blog/2018/06/07/you-probably-dont-need-derived-state.html)

0 commit comments

Comments
 (0)