Skip to content

Router unregisters listeners when Component disconnects from DOM

Choose a tag to compare

@tdumitrescu tdumitrescu released this 08 Nov 01:23
· 321 commits to master since this release

This will restore history.pushState/history.replaceState/popstate behavior when a Component that registered route handlers is removed from the DOM. Particularly useful for test suites which create/remove apps for individual test cases.