hunk.code_window: import { onMounted, onBeforeUnmount, shallowRef } from 'vue';
   import { ActorRef, Interpreter, Subscribable } from 'xstate';
   import { isActorWithState } from './useActor';
   import { getServiceSnapshot } from './useService';
   function isService(actor: any): actor is Interpreter<any, any, any, any> {
     return 'state' in actor && 'machine' in actor;
   }
   const defaultCompare = (a, b) => a === b;
  
hunk.labels: keep replace replace replace replace replace replace replace keep keep
hunk.after_edit: import { ActorRef, Subscribable } from 'xstate';
   import { defaultGetSnapshot } from './useActor';
  
hunk.file_path: packages/xstate-vue/src/useSelector.ts
hunk.type: replace
file: {
    "files": [],
    "references": [
      {
        "path": "./packages/core"
      },
      {
        "path": "./packages/xstate-analytics"
      },
      {
        "path": "./packages/xstate-fsm"
      },
      {
        "path": "./packages/xstate-graph"
      },
      {
        "path": "./packages/xstate-immer"
      },
      {
        "path": "./packages/xstate-react"
      },
      {
        "path": "./packages/xstate-vue"
      },
      {
        "path": "./packages/xstate-scxml"
      }
    ]
  }
  