kibu-australia / pushy

Clojurescript library for quick and easy HTML5 pushState
Eclipse Public License 1.0
223 stars 28 forks source link

Redirecting to a different URL #12

Open pupeno opened 9 years ago

pupeno commented 9 years ago

I tried using set-token! to redirect to a different URL, but it's not triggering the parse url or the dispatch function. It's just replacing the URL. How do I cause the dispatch function to be triggered?

pupeno commented 9 years ago

Actually, the problem only occurs when redirecting back to the same page. So, I'm not sure if this is an issue or not, but in my app I need to re-trigger routing, so I ended up having this workaround:

https://github.com/carouselapps/ninjatools/commit/836bf84e1c83d233c73d00f0e3c50e293e289d38