Skip to content

React Navigation needs a mention of useIonRouter #2494

Open

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.

Activity

  1. added
    content
    on Aug 12, 2022
  2. added
    triage
    and removed
    content
    on Sep 20, 2022
  3. added
    content
    on Oct 11, 2022
  4. added
    package: react
    on Dec 31, 2024
  5. soundproofboot commented on Jul 31, 2025

    @soundproofboot
    Contributor

    For future reference, a section on useIonRouter has been added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    contentpackage: react

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions