Skip to content
This repository was archived by the owner on Oct 26, 2018. It is now read-only.

Fix basename path issues #104

Merged
merged 1 commit into from
Dec 10, 2015
Merged

Fix basename path issues #104

merged 1 commit into from
Dec 10, 2015

Conversation

kimjoar
Copy link
Collaborator

@kimjoar kimjoar commented Dec 10, 2015

Closes #102 #103

The problem with relying on history.createPath is that it might change in ways we don't want it to, e.g. as here when history.createPath prepends the basename, which means that the input to pushPath will differ from the path we create on a location change.

I think a good first step is to create the path ourselves (as we did in the previous version), and going forward to think about the ideas in #95 for later versions.

Thanks @dtryon and @hunterc for helping to fix this

@kimjoar
Copy link
Collaborator Author

kimjoar commented Dec 10, 2015

@jlongster Should we release a 1.0.1 that solves this?

kimjoar added a commit that referenced this pull request Dec 10, 2015
@kimjoar kimjoar merged commit 040950c into reactjs:master Dec 10, 2015
@kimjoar kimjoar deleted the basename-fix branch December 10, 2015 16:38
This was referenced Dec 10, 2015
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IndexRedirect causes infinite route
1 participant