Mounts the renderer to a parent node with optional initial state.
The parent node or element.
Optional
initialState: Record<string, any>Optional initial state to apply.
Unmounts the renderer from its parent.
Updates the renderer with a state delta.
The state changes to apply.
Interface for native renderers that manage mounting, updating, and unmounting.