zalmoxisus/redux-devtools-extension

How to import an exported `state.json`, but without replaying any actions?

Opened this issue · 0 comments

We would like to import a previously exported state.json file in the extension UI, but right now all the actions are replayed immediately.

We would like to have the Redux devtools pause before executing the first action, so we can replay the actions one by one.

I looked at several related issues, trying to convert the exported state.json into a lifted state, reloading it with store.liftedStore.dispatch({ type: 'IMPORT_STATE', nextLiftedState: s, noRecompute: false }) etc, but nothing seems to work.

Does anyone know how to do this?