Is there a way in an epic to receive previous state of the store? I feel you can't as the epic stands at the end of the Action -> Reducer -> Epic
queue.
REMEMBER: When an Epic receives an action, it has already been run through your reducers and the state updated.
But maybe someone will suggest some solution to my problem:
I have an epic that handles downloading json which then is stored in the store. I though that another epic that will check what has changed would be good to dispatch a "new item" notification, but for that I need an access to the state prior to the store change:) maybe I should do it within the same epic?