Skip to main content

Other Hooks

Less than 1 minute

The following are react hooks which ensure the reactivity of the underlying data sources and re-render consuming components when the data changes. Use all of these in a <ClientProvider /> context.

useClient()open in new window

Hook returning instance of DXOS client. Requires ClientContext to be set via ClientProvider.

Returns: Client

Arguments: none