メインコンテンツまでスキップ

ライフサイクルフック

Angularのライフサイクルフックは、Reactのクラスコンポーネントのライフサイクルメソッドに近い概念ですが、フック関数のuseEffectとは異なるアプローチです。

1. 主要なライフサイクルフック​

2. 変更検知(Change Detection)​

3. Zoneless Angular(実験的)​

4. DestroyRef と takeUntilDestroyed​

5. afterNextRender / afterRender​