Skip to content

feat: React Router v7 support #30745

@gnbm

Description

@gnbm

Prerequisites

Describe the Feature Request

Ionic React currently uses React Router 5, which is tagged as classic on yarn.

React Router v6 support will be released on the Ionic Framework v9 (no date available yet).

React Router v7 received a stable release on November 22, 2024.

It would be great to be able to use a version of React Router that is actively being updated and makes use of the new features in React 18 and 19.

Describe the Use Case

React Router 7 adds optional Remix features to React Router as "framework mode". In addition, it has code-splitting features with React 18 and 19 that v5 does not.

Describe Preferred Solution

@ionic/react-router should update to React Router 7.

Describe Alternatives

No response

Related Code

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions