createActorHooks
Call Signature
Section titled “Call Signature”createActorHooks<
Service>(reactor):ActorHooks<Service,"display">
Defined in: react/src/createActorHooks.ts:170
Type Parameters
Section titled “Type Parameters”Service
Section titled “Service”Service
Parameters
Section titled “Parameters”reactor
Section titled “reactor”DisplayReactor<Service>
Returns
Section titled “Returns”ActorHooks<Service, "display">
Call Signature
Section titled “Call Signature”createActorHooks<
Service,Transform>(reactor):ActorHooks<Service,Transform>
Defined in: react/src/createActorHooks.ts:174
Type Parameters
Section titled “Type Parameters”Service
Section titled “Service”Service = BaseActor
Transform
Section titled “Transform”Transform extends keyof TransformArgsRegistry<unknown> = "candid"
Parameters
Section titled “Parameters”reactor
Section titled “reactor”Reactor<Service, Transform>
Returns
Section titled “Returns”ActorHooks<Service, Transform>