docs: Describe a scenario in which ngOnChanges is not called before ngOnInit. (#38625)

Closes #38613

PR Close #38625
This commit is contained in:
Dan Manastireanu 2020-08-28 11:13:55 +03:00 committed by atscott
parent a32a317ea1
commit b0c79f2373
1 changed files with 2 additions and 0 deletions

View File

@ -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.
Note that if your component has no inputs or you use it without providing any inputs, the framework will not call `ngOnChanges()`.
</td>
</tr>
<tr style='vertical-align:top'>