frontend
    Preparing search index...

    Function shouldSkipReplay

    • Check if replay should be skipped because cpuActions haven't changed. Updates the ref and returns true if replay was skipped (setDisplayState called directly).

      Type Parameters

      • TState

      Parameters

      • newActions: unknown[]
      • lastReplayedActionsRef: { current: unknown[] | undefined }
      • res: TState
      • setDisplayState: (state: TState) => void

      Returns boolean