useLiveValueStore

Returns the nearest LiveValuesProvider's store, or null outside one.

@internote/canvas-sdk/reactHook
On this page
import { useLiveValueStore } from '@internote/canvas-sdk/react';

For reading or publishing outside a render, such as in an event handler. In a render, useLiveValue and usePublishLiveValuessubscribe as well.

#Signature

(): LiveValueStore | null

Declared in packages/canvas-sdk/src/content/live-values.tsx:54.

Last updated