Skip to content

basename for location.pathname support #96

@aliaksandr-yermalayeu

Description

@aliaksandr-yermalayeu

In previous version of history package the basename was also used for making location.pathname relative to basename, see history v4 api

For example with basename /foo/bar/id and url /foo/bar/id/baz the pathname will be /baz

Then in the 5th version they removed basename support silently.

I am seeing that you've added support for basename in v5.1.0

So I am wondering are there any plans to expose relative pathname under router.location in redux store?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions