Fixing bug where multi emit events when dispatching action types in multiple reducers.
Adding a unit test regarding that.... basically I freeze the initial state if there is a reducer dispatched when the first reducer is dispatching, then we do the changes on the state every time it actually requires the change, and finally when all reducers are finished we compare frozenStore with current store... if changed then we emit a change in a single dispatch.
Fixing bug where multi emit events when dispatching action types in multiple reducers.
Adding a unit test regarding that.... basically I freeze the initial state if there is a reducer dispatched when the first reducer is dispatching, then we do the changes on the state every time it actually requires the change, and finally when all reducers are finished we compare frozenStore with current store... if changed then we emit a change in a single dispatch.