hosanna-ui-docs - v0.9.0
    Preparing search index...

    Interface INativeRenderer

    Interface for native renderers that manage mounting, updating, and unmounting.

    interface INativeRenderer {
        mount(parent: any, initialState?: Record<string, any>): void;
        unmount(): void;
        update(stateDelta: Record<string, any>): void;
    }
    Index

    Methods

    • Mounts the renderer to a parent node with optional initial state.

      Parameters

      • parent: any

        The parent node or element.

      • OptionalinitialState: Record<string, any>

        Optional initial state to apply.

      Returns void