Closed rictic closed 8 years ago
Sorry I've been away from app-route and family, but where did we land on the issue of trailing slashes? Does https://www.google.com the same as https://www.google.com/? If so, then we should do some handling of that in this PR, if not LGTM
_getSameOriginLinkHref will normalize https://www.google.com
to https://www.google.com/
but it won't normalize https://www.google.com/foo
to https://www.google.com/foo/
. I think this behavior is correct, as the first two are actually equivalent and the latter two are distinct.
This is perfect then. LGTM :+1: great job!
Thanks for the review!
For links that point to the current href we want to do absolutely nothing. No navigation, no full page refresh, no new history entry.
Fixes #43