Skip to content

[Docs]: History Package dependency with v6+ #14453

@tarungunampalli1

Description

@tarungunampalli1

Describe what's incorrect/missing in the documentation

Hey team,

I just migrated out app router version to v6 and the docs mention that we should no longer use the history package. Does the react router package have direct replacements for all the types that are available in the history package. We use types like LocationDescriptor and Action from the history package that don't appear to be exported from react router.

What's the recommendation here? Should I keep the history package for specific types, or is there a way to get them from react router directly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions