API Reference / @gtkx/react / Root
Type Alias: Root
Root =
object
Defined in: react/dist/reconciler/render.d.ts:6
A render root that mounts a React element tree into a container and can unmount it.
Methods
render()
render(
element):void
Defined in: react/dist/reconciler/render.d.ts:7
Parameters
element
ReactNode
Returns
void
unmount()
unmount():
void
Defined in: react/dist/reconciler/render.d.ts:8
Returns
void