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

Check current route against hash instead of all routes #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

NicholasEymann
Copy link

When you add a new route reload is called. If any route
matches the hash the route callback will be called every
single time a new route is added. Rather than call
reload we should check that the hash matches the
current route and call or ignore it instead.

@NicholasEymann
Copy link
Author

Fixes issue #30

When you add a new route reload is called. If any route
matches the hash the route callback will be called every
single time a new route is added. Rather than call
reload we should check that the hash matches the
current route and call or ignore it instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants