Skip to main content

Variable: RenderCallbackContext

const RenderCallbackContext: object

Type declaration

RenderContextProvider()

RenderContextProvider: (__namedParameters) => Element

Parameters

__namedParameters

Returns

Element

useRenderCallback()

useRenderCallback: (callback, deps) => RenderCallback

Use this method to add render callbacks to the render callback chain.

Parameters

callback: RenderCallback

deps: DependencyList

Returns

RenderCallback

useRenderCallbacks()

useRenderCallbacks: () => ISharedValue<RenderCallbackList>

This should be called in the render callback of the FilamentView. For the default exported context this happens automatically.

Returns

ISharedValue<RenderCallbackList>

useRenderContext()

useRenderContext: () => RenderContextType

Returns

RenderContextType

Defined in

src/react/RenderCallbackContext.tsx:98