render

fun render(root: Component, constraints: SizeConstraints)

Performs an asynchronous resolution and layout in one call, which is a non-blocking operation.

Parameters

root

The root component to render.

constraints

The size constraints to use.