abstract-state-router
Advanced tools
Changelog
Removes the concept of resetting states.
The concept of resetting breaks down if your component library doesn't support
For renderers that "reset" states by destroying the existing component and re-constructing it, stuff would break in any case where a parent and child state were both told to reset at once. Whenever the parent would reset and destroy its part of the DOM, the child would get wiped out.
Existing renderers don't need to change to work with this version of ASR, it's just that their reset
function won't get called any more.
The beforeResetState
and afterResetState
should not be fired any more.