Uh oh!
There was an error while loading. Please reload this page.
docs(react): add utility functions page with useIonRouter docs - #4455
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
… > Functions > name)
Uh oh!
There was an error while loading. Please reload this page.
Resolves#2494
Note: Technically this issue had been resolved before, but I'm extracting utilities out to match Vue's utilities page and to explain in detail our new methods in RR6
Description
Extracts useIonRouter documentation from the navigation page into a dedicated Utility Functions page. Expands coverage with new sections for
navigateRoot(),canGoBack(), and back navigation patterns. Updates cross-references in the navigation page to link to the new page.Change Type
Rationale / Problems Fixed
The useIonRouter hook docs were buried at the bottom of the navigation page and only showed a basic type definition with a single example. This moves them to their own page where each method (
push,goBack,canGoBack,navigateRoot) gets a focused section with usage examples. Also documents the navigateRoot method which is new to RR6.Preview
React Utility Functions