You unfortunately can't see the previous state since you're not using Redux. Two options: transform your store so that it keeps a history stack of previous states, or use hook up all of this to a Redux store, and have it publish out the state to Redux DevTools.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi, great article! How can I see the previous state? I understand you use immer to make an immutable state.
You unfortunately can't see the previous state since you're not using Redux. Two options: transform your store so that it keeps a history stack of previous states, or use hook up all of this to a Redux store, and have it publish out the state to Redux DevTools.