diff --git a/.changeset/soft-cheetahs-heal.md b/.changeset/soft-cheetahs-heal.md new file mode 100644 index 00000000..94d827f4 --- /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 8f80592a..964ee7ef 100644 --- a/packages/redux-devtools-app/src/utils/monitorActions.ts +++ b/packages/redux-devtools-app/src/utils/monitorActions.ts @@ -61,6 +61,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);