@xstate/reactFunctionsuseSelectoruseSelector CallableuseSelector<TActor, T>(actor: TActor, selector: (emitted: SnapshotFrom<TActor>) => T, compare?: (a: T, b: T) => boolean): TType parametersTActor: ActorRef<any, any>TParametersactor: TActorselector: (emitted: SnapshotFrom<TActor>) => Tcompare: (a: T, b: T) => boolean = defaultCompareReturns T