diff --git a/.changeset/soft-cheetahs-heal.md b/.changeset/soft-cheetahs-heal.md new file mode 100644 index 0000000000..94d827f45d --- /dev/null +++ b/.changeset/soft-cheetahs-heal.md @@ -0,0 +1,5 @@ +--- +'@redux-devtools/app': minor +--- + +Include lifted state in REORDER_ACTION message, to allow calculation of state diff --git a/packages/redux-devtools-app/src/utils/monitorActions.ts b/packages/redux-devtools-app/src/utils/monitorActions.ts index e4437f7a2a..a381e37c43 100644 --- a/packages/redux-devtools-app/src/utils/monitorActions.ts +++ b/packages/redux-devtools-app/src/utils/monitorActions.ts @@ -51,6 +51,7 @@ export function nonReduxDispatch( switch (action.type) { case 'TOGGLE_ACTION': + case 'REORDER_ACTION': return stringifyJSON(state, true); case 'JUMP_TO_STATE': return stringifyJSON(state.computedStates[action.index].state, true);