Creates and renders a new root node with the given properties. Rendering runs in worker threads by default for non-blocking operation.
Configuration properties for the root node
Canvas with .release() in worker mode, plain Canvas otherwise
Creates and renders a new root node with the given properties. Rendering runs in worker threads by default for non-blocking operation.
Configuration properties for the root node
Canvas with .release() in worker mode, plain Canvas otherwise
WorkerCanvasis whatRootresolves to in worker mode, so a caller cannot annotate the result of their own render without it. The node types come with their factories for the same reason:Childrenis written in terms of them, and a helper returning one has to be able to say so.