Skip to content

Warn about IonicPage Lifecycle#13250

Merged
kensodemann merged 1 commit into
ionic-team:masterfrom
laurentperroteau:patch-1
Nov 30, 2017
Merged

Warn about IonicPage Lifecycle#13250
kensodemann merged 1 commit into
ionic-team:masterfrom
laurentperroteau:patch-1

Conversation

@laurentperroteau
Copy link
Copy Markdown

Warn IonicPage Lifecycle events are only available on IonicPage component, others components need Angular Lifecycle Hooks.

Short description of what this resolves:

In the NavController documentation, only Ionic Page Lifecycle events are present. At first, we have the impression that these events replace the Angular Lifecycle hooks, but that's not the case!

Changes proposed in this pull request:

Add warn

Ionic Version: 3

Warn IonicPage Lifecycle events are only available on IonicPage component, others components need Angular Lifecycle Hooks
@mhartington
Copy link
Copy Markdown
Contributor

LGTM, will merge in a bit.

@mhartington mhartington self-assigned this Oct 26, 2017
@kensodemann kensodemann added this to the 3.9.0 milestone Oct 27, 2017
@kensodemann
Copy link
Copy Markdown
Contributor

Thanks for the PR. Looks like this got lost in the shuffle. Merging.

@kensodemann kensodemann merged commit 52c40da into ionic-team:master Nov 30, 2017
ChezRD pushed a commit to ChezRD/ionic that referenced this pull request Jan 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants