Skip to content

React Navigation needs a mention of useIonRouter #2494

Open
@leo-petrucci

Description

@leo-petrucci

URL
https://ionicframework.com/docs/react/navigation

What is missing or inaccurate about the content on this page?
I've looked all over the docs, and I haven't been able to find a single mention of using useIonRouter within Ionic React.

I was trying to navigate to a page and specify the direction of the animation, and the only way I ended up finding useIonRouter was by following usage of the RouterDirection type.

Sure enough the import is mentioned in @ionic/vue, but it doesn't exist for React.

Metadata

Metadata

Assignees

No one assigned

    Labels

    contentIssues related to the contents of the documentation websitepackage: reactIssues related to the Ionic React documentation

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions