hacifootprint

UseActionBindingResult<Host, ComposedProps, Id>

Interface: UseActionBindingResult<Host, ComposedProps, Id>

Defined in: src/react/use-action-binding.ts:103

Render output plus a read-only accessor for the currently committed identity.

Type Parameters

Host

Host

ComposedProps

ComposedProps

Id

Id extends string = string

Properties

getBinding

readonly getBinding: () => ActionBindingRef<Id> | undefined

Defined in: src/react/use-action-binding.ts:114

The last committed identity. Undefined before the first host commit, on SSR, after teardown, or when resolution is an honest failure.

Returns

ActionBindingRef<Id> | undefined


hostProps

readonly hostProps: ComposedProps

Defined in: src/react/use-action-binding.ts:109


ref

readonly ref: ActionBindingRefCallback<Host>

Defined in: src/react/use-action-binding.ts:108

On this page