Fork me on GitHub
#clojurescript
<
2018-02-02
>
kaosko03:02:57

anybody doing single page apps with accountant (and/or google closure lib)? should the goog.history.Html5History EventType/NAVIGATE fire on page (re-)load? because I'm not seeing that. I only see it firing up when I click on a link, however, goog.history.EventType/NAVIGATE seems to fire every time

kaosko03:02:00

ah I see, I have to (accountant/dispatch-current!) (see https://github.com/venantius/accountant/issues/52). always good to ask here first, somehow it helps figuring it out yourself 🙂