accept emitting, updated middleware in options
tamb opened this issue · 1 comments
tamb commented
When you emit('UPDATE_STATE', {} )
, there should be a config option for middleware to access the entire state management instance.
Right before STATE_UPDATED
or a custom action is returned, there should option for middleware to fire. So it's a method that fires on EVERY state update.
This will allow for client side storage to be added, and other features.