Skip to content

Update react-router-dom dependency and compatibility v7 #3267

@douglaszaltron

Description

@douglaszaltron

Clear and concise description of the problem

About bridge/bridge-react package

Current Situation

  • Current dependency: "react-router-dom": ">=4"
  • react-router-dom is migrating to version 7
  • Package will be renamed to just react-router

Issue Description

react-router-dom is moving towards version 7 and will be changing its package name to just react-router. Given this upcoming change, do we have any plans or movement to support the new react-router package in bridge?

Questions

  • Is there a migration plan?
  • Should we start accepting both packages?
  • What's the compatibility impact?

Suggested solution

Although I understand that the transition to v7 was designed to be to be non-breaking, I have concerns about the package name. I believe we should support both versions.

The migration to just react-router is inevitable. 🤔

Alternative

No response

Additional context

No response

Validations

  • Read the Contributing Guidelines.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions