File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -455,7 +455,7 @@ UNSAFE_componentWillReceiveProps(nextProps)
455
455
> このライフサイクルメソッドを使用すると、しばしばバグや矛盾が発生します。
456
456
>
457
457
> * 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 )
459
459
> * ` 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 ) かを検討してください
460
460
>
461
461
> その他の使用例については、[ 派生 state に関するこのブログ投稿の推奨事項に従ってください] ( /blog/2018/06/07/you-probably-dont-need-derived-state.html ) 。
You can’t perform that action at this time.
0 commit comments