docs: Describe a scenario in which ngOnChanges is not called before ngOnInit. (#38625)
Closes #38613 PR Close #38625
This commit is contained in:
parent
56d5ff2a89
commit
028ef30b34
@ -62,6 +62,8 @@ Angular executes hook methods in the following sequence. You can use them to per
|
|||||||
|
|
||||||
Called before `ngOnInit()` and whenever one or more data-bound input properties change.
|
Called before `ngOnInit()` and whenever one or more data-bound input properties change.
|
||||||
|
|
||||||
|
Note that if your component has no inputs or you use it without providing any inputs, the framework will not call `ngOnChanges()`.
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr style='vertical-align:top'>
|
<tr style='vertical-align:top'>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user