-
Notifications
You must be signed in to change notification settings - Fork 486
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
initial handler fired twice #227
Comments
Glad to try and debug this if you can provide a small test that shows the incorrect behavior! :) |
hi @beaugunderson
I solved the bug in SAFARI and SAFARI IOS by calling |
I think the only robust solution is to refuse firing the same route twice in a row. The router instance should track the current route. |
Hello there!
I've created an strategy to always redirect users to home, and them open the desired uri via ajax and director.
When users try entering
example.com/page1
, they are redirected toexample.com/#/page1
.I'm using pushState and director automatically corrects the route, removing the hash. That's cool!
The problem: sometimes director fires the route callback twice.
Why is that?
The text was updated successfully, but these errors were encountered: