API Reference / @gtkx/react / index / createRoot
Variable: createRoot
constcreateRoot: (container?) =>Root
Defined in: reconciler/root.d.ts:35
Creates a render root for a GTKX application. Uncaught render errors are rethrown and errors caught by an error boundary are logged.
Parameters
container?
Container
The GObject to render into; defaults to the shared rootElement, which holds no object.