mithril.js icon indicating copy to clipboard operation
mithril.js copied to clipboard

The router has stray onhashchange-related code

Open pygy opened this issue 3 years ago • 0 comments

m.route.set() doesn't set the hash directly anymore, meaning that non-pushState-based routing doesn't work anymore.

There are however some onhashchange-related code in the router.

Mithril.js version:

v2.2.2

pygy avatar May 30 '22 20:05 pygy