-
Notifications
You must be signed in to change notification settings - Fork 960
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
Duplicate Basename #169
Comments
Don't use |
Or just |
+1 for the same problem. In my case passing the object to I want to return a url from a method that then i can use to put it in a Why https://github.com/rackt/history/blob/master/modules/useBasename.js |
Hello.
I create
history
and uses
createPath
for building URL:Because
createPath
addbasename
andhistory.push
addbasename
, i receivebasename/basename/path...
.I of course found such solution:
but it seems to me not beautifully.
Can add to
prependBasename (useBasename.js)
the analysis of existence of basename iftypeof location === 'string'
?The text was updated successfully, but these errors were encountered: