Taos API Reference
    Preparing search index...

    Type Alias ComponentFactory

    ComponentFactory: (
        doc: ComponentDoc,
        ctx: InstantiateContext,
    ) => Component | null

    Build a live component from its doc. Returns null when the type can't be built (no registered factory, or a deliberately deferred type like Script); the instantiator skips nulls, matching the editor's load behavior.

    Type Declaration