Manual state changes check

You can always track your latest state by calling this from console:

For Immer

window.state.history.CURRENT_STATE

For ImmutableJs

window.state.history.CURRENT_STATE.toJS()

toJS() is standard immutableJS function. So all other ImmutableJS operators can be applied.

Not that state is not attached in production mode

Demo

Last updated