viewSourcePreview function

Module @runic-artifex/views/bindings in @runic-artifex/views 0.23.0

function viewSourcePreview<TClient extends ViewClient>(source: ViewSource<TClient>): {
    readonly client: TClient;
    readonly state: TClient["snapshot"];
} | undefined;

What a binding shows for a source before its controller follows it, as in the render before an effect: an observed client and its state, or the client and state that a released controller kept for the connector. Undefined when the source has neither.