This corrects a common scenario like:
When listening to an action on a page A that pushes the navigator to another page B, when page B overlaps page A the developer is obliged to unsubscribe from all actions in which he used the listen function, generating an ugly code, like spagheti .
With this approach the developer only needs to use the following function within page A that elá will perform the automatic unsubscribe when executing the dispose.
This corrects a common scenario like: When listening to an action on a page A that pushes the navigator to another page B, when page B overlaps page A the developer is obliged to unsubscribe from all actions in which he used the listen function, generating an ugly code, like spagheti . With this approach the developer only needs to use the following function within page A that elá will perform the automatic unsubscribe when executing the dispose.
im using a mixin in my project while this pull isn't aprooved...