title: How to get previous state from NGXS store
body: <p>In NGXS we have getState() to get the current state. Is there a way to get the previous state from the store? I am looking for a solution to this as I have to implement Undo/Redo kind of functionality. Thanks!</p>