Member Junction
    Preparing search index...

    Represents a compiled React component with its metadata

    interface CompiledComponent {
        compiledAt: Date;
        factory: (
            context: RuntimeContext,
            styles?: ComponentStyles,
            components?: Record<string, any>,
        ) => ComponentObject;
        id: string;
        name: string;
        sourceMap?: any;
        warnings?: string[];
    }
    Index

    Properties

    compiledAt: Date

    Compilation timestamp

    factory: (
        context: RuntimeContext,
        styles?: ComponentStyles,
        components?: Record<string, any>,
    ) => ComponentObject

    Factory function that creates a ComponentObject when called with context

    id: string

    Unique identifier for the component

    name: string

    Original component name

    sourceMap?: any

    Babel-generated sourcemap (raw V3 SourceMap object) when sourceMaps is enabled

    warnings?: string[]

    Any compilation warnings