Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

basename for location.pathname support #96

Open
aliaksandr-yermalayeu opened this issue Sep 19, 2022 · 1 comment
Open

basename for location.pathname support #96

aliaksandr-yermalayeu opened this issue Sep 19, 2022 · 1 comment

Comments

@aliaksandr-yermalayeu
Copy link

aliaksandr-yermalayeu commented Sep 19, 2022

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?

@plastya-flomaster
Copy link

Any updates on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants