mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-23 06:29:51 +03:00
Jumping to action is time traveling
This commit is contained in:
parent
ec05f649b1
commit
56c84dcfeb
|
@ -51,7 +51,8 @@ export default class Monitor<S, A extends Action<unknown>> {
|
|||
this.lastAction && /^@@redux\/(INIT|REPLACE)/.test(this.lastAction);
|
||||
isMonitorAction = () =>
|
||||
this.lastAction && this.lastAction !== 'PERFORM_ACTION';
|
||||
isTimeTraveling = () => this.lastAction === 'JUMP_TO_STATE';
|
||||
isTimeTraveling = () =>
|
||||
this.lastAction === 'JUMP_TO_STATE' || this.lastAction === 'JUMP_TO_ACTION';
|
||||
isPaused = () => {
|
||||
if (this.paused) {
|
||||
if (this.lastAction !== 'BLOCKED') {
|
||||
|
|
Loading…
Reference in New Issue
Block a user