history.js
history.js copied to clipboard
History.onUnload is being called many many times on android phone
Found this in the source: // For Internet Explorer History.intervalList.push(setInterval(History.onUnload,History.options.storeInterval));
And this phone is slow one. That may explain everything.
According to chrome devtools, it's been called a lot of times. https://gist.github.com/thehappycoder/a089562b13e028766e82/raw/53f0425c5f4756c7f5c7662711c4e4d3c6d3ba56/TimelineRawData-20140130T152139.json
Hey @thehappycoder , I stumbled into same line of code when debugging performance issues... any news on that?
@thehappycoder already found a discussion about that here https://github.com/browserstate/history.js/issues/321 and https://github.com/browserstate/history.js/issues/376
@Strajk Thank you. It's very useful.