-
Notifications
You must be signed in to change notification settings - Fork 959
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
add support for hashes without leading slash #249
Comments
Might be worth thinking about this in conjunction with #131 and remix-run/react-router#601. It sounds like we need some flexibility in supporting various hash URL schemes to both offer appropriate legacy support and allow interop with e.g. Auth0. |
That's not a bad idea, @zdila, but it introduces extra complexity for not a lot of gain IMO. I think I'd rather leave it as it is now unless there's a stronger argument than aesthetics. |
Aesthetics is a strong argument nowadays :-). In any case we'll try to implement our own HashProtocol then because feature we request is a critical issue for our customer. |
createHashHistory
could have an option to prevent leading slash in the hash.Instead of
index.html#/foo
the URL would then beindex.html#foo
.The text was updated successfully, but these errors were encountered: