This commit is contained in:
Ben Durrant 2025-09-17 11:37:00 +01:00 committed by GitHub
commit 9a38558c5b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,5 @@
---
'@redux-devtools/app': minor
---
Include lifted state in REORDER_ACTION message, to allow calculation of state

View File

@ -61,6 +61,7 @@ export function nonReduxDispatch(
switch (action.type) { switch (action.type) {
case 'TOGGLE_ACTION': case 'TOGGLE_ACTION':
case 'REORDER_ACTION':
return stringifyJSON(state, true); return stringifyJSON(state, true);
case 'JUMP_TO_STATE': case 'JUMP_TO_STATE':
return stringifyJSON(state.computedStates[action.index].state, true); return stringifyJSON(state.computedStates[action.index].state, true);