@tempots/dom

UseSSRDone() function

Provides a way to signal that a renderable has been rendered on the server. Multiple ussSSRDone calls can be made in parallel, and the promise returned by prepareSSR will resolve when all the useSSRDone calls have been completed.

Signature:

UseSSRDone: (child: (done: () => void) => TNode) => Renderable

Parameters

Parameter

Type

Description

child

(done: () => void) => TNode

A function that takes a done callback and returns a TNode.

Returns: Renderable

A renderable value.