Skip to content

Commit

Permalink
docs: Describe a scenario in which ngOnChanges is not called before n…
Browse files Browse the repository at this point in the history
…gOnInit. (#38625)

Closes #38613

PR Close #38625
  • Loading branch information
danmana authored and atscott committed Sep 8, 2020
1 parent 56d5ff2 commit 028ef30
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aio/content/guide/lifecycle-hooks.md
Expand Up @@ -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'>
Expand Down

0 comments on commit 028ef30

Please sign in to comment.