Skip to content

docs(vue): update useIonRouter replace direction - #4794

Open
ShaneK wants to merge 1 commit into
mainfrom
FW-7870
Open

ShaneK wants to merge 1 commit into
mainfrom
FW-7870

Conversation

@ShaneK

@ShaneK ShaneK commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

What is the current behavior?

Currently, the useIonRouter docs say replace is the same as navigate(location, 'root', 'replace', animation), which clears the navigation stack. The navigate type also leaves out the none direction.

What is the new behavior?

The docs now say replace uses the none direction, so it keeps the pages beneath the replaced one and back still works. They also point to navigate(location, 'root', 'replace') for clearing the stack, and none is added to the type. This is for v9 only.

Important

This needs to be merged only after ionic-team/ionic-framework#31583

@ShaneK
ShaneK requested a review from a team as a code owner October 16, 2026 18:27
@ShaneK
ShaneK requested a review from thetaPC October 16, 2026 18:27
@vercel

vercel Bot commented Oct 16, 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 Oct 16, 2026 6:27pm UTC

Request Review

This branch was successfully deployed

1 active deployment
Preview — 97d63fb8 Deployed Oct 16, 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