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

Remove location prop from Routes and useRoutes #7945

Merged
merged 2 commits into from
Aug 13, 2021
Merged

Conversation

chaance
Copy link
Collaborator

@chaance chaance commented Aug 13, 2021

After discussing this more with @mjackson, we believe the location prop on Switch in v5 is still the wrong API. The primary use case as far as we can tell is for Route animations. Michael is going to open a new issue for a deeper discussion about this, and we'll likely introduce some even better solutions in a new beta scheduled for next week.

@mjackson mjackson merged commit 23e9bcb into dev Aug 13, 2021
@chaance chaance deleted the remove-location-prop branch August 14, 2021 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants