basename for location.pathname support
aliaksandr-yermalayeu opened this issue · 1 comments
aliaksandr-yermalayeu commented
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 commented
Any updates on this issue?