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

Implement Switch and Redirect components #9

Merged
merged 3 commits into from Apr 26, 2019
Merged

Conversation

molefrog
Copy link
Owner

@molefrog molefrog commented Apr 26, 2019

Closes #7

  • Adds Switch component, similar to React Router's one.
  • <Switch /> can accept a location parameter (handy for doing transitions, see Router push with Switch #7)
  • A super simple Redirect component

@molefrog molefrog mentioned this pull request Apr 26, 2019
@molefrog molefrog merged commit 8a4f4fc into master Apr 26, 2019
@molefrog molefrog deleted the feature/switch branch April 26, 2019 12:11
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.

Router push with Switch
1 participant