Skip to content

docs(angular): note that navigating forward to a page in the stack reuses it - #4937

Draft
thetaPC wants to merge 1 commit into
mainfrom
docs-angular-lifecycle-page-reuse
Draft

thetaPC wants to merge 1 commit into
mainfrom
docs-angular-lifecycle-page-reuse

Conversation

@thetaPC

@thetaPC thetaPC commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Navigating forward to a page that is already in the stack doesn't create a new instance. Ionic returns to the cached page, so its ngOnInit doesn't run again. The lifecycle page only covered going back, and this case is what most commenters on ionic-team/ionic-framework#17853 ran into.

  • Adds a paragraph to the Angular lifecycle page describing the reuse, with an example, and points to ionViewWillEnter / ionViewDidEnter for logic that should run on every visit.

@vercel

vercel Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
ionic-docs Ready Ready Preview Dec 3, 2026 7:23pm UTC

Request Review

This branch was successfully deployed

1 active deployment
Preview — 2ce93794 Deployed Dec 3, 2026 by vercel[bot]
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.

1 participant