Could you please explain why is it needed to keep all the deregistration function?
If I understand this correctly, this array (removeHooksFunctions) will gather all the deregistration functions for all transitions triggered during the router lifetime. Do we need them even after the transitions are finished?
https://github.com/ui-router/redux/blob/a90e709c2ed875367f694a915bc4cd84b486dcd5/core/applyHooks.ts#L69
Could you please explain why is it needed to keep all the deregistration function?
If I understand this correctly, this array (removeHooksFunctions) will gather all the deregistration functions for all transitions triggered during the router lifetime. Do we need them even after the transitions are finished?