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

StaticRouter adds leading slash to relative links #5165

Closed
lewisdiamond opened this issue May 24, 2017 · 1 comment
Closed

StaticRouter adds leading slash to relative links #5165

lewisdiamond opened this issue May 24, 2017 · 1 comment

Comments

@lewisdiamond
Copy link

lewisdiamond commented May 24, 2017

Version

4.1.1

Expected Behavior

StaticRouter should not add a leading slash to my relative <Link>s

Actual Behavior

StaticRouter adds a leading slash to my relative <Link>s and causes React to NOT reuse the server-rendered markup.

The behavior is due to:
This

@timdorr
Copy link
Member

timdorr commented May 24, 2017

We don't support relative links....yet! See #5127

@timdorr timdorr closed this as completed May 24, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Jan 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants