Open
Description
Triggering the $digest
in the middleware is a bad idea as it may happen before the actual state change. It should be triggered in store.subscribe()
as this is a change listener which "will be called any time an action is dispatched, and some part of the state tree may potentially have changed".
Metadata
Metadata
Assignees
Labels
No labels