Stone.js API
    Preparing search index...

    Configuration options for integrating React with Stone.js.

    interface UseReactConfig {
        adapterErrorPages?: Record<
            string,
            MetaAdapterErrorPage<unknown, unknown, unknown>,
        >;
        componentEventHandler?: MetaPage<ReactIncomingEvent>;
        errorPages?: Record<string, MetaErrorPage<ReactIncomingEvent>>;
        htmlTemplateContent?: string;
        ignorePlatforms?: string[];
        layouts?: Record<string, MetaPageLayout>;
        rootElementId?: string;
    }
    Index
    adapterErrorPages?: Record<
        string,
        MetaAdapterErrorPage<unknown, unknown, unknown>,
    >

    A map of error pages for adapter-level errors.

    componentEventHandler?: MetaPage<ReactIncomingEvent>

    Handles incoming events for the root React component.

    errorPages?: Record<string, MetaErrorPage<ReactIncomingEvent>>

    A map of error pages for specific components.

    htmlTemplateContent?: string

    The content of the HTML template as a string. This can be used to define the structure of the HTML document. This is useful for inline templates or when the template is dynamically generated. Note: This is not a file path, but the actual HTML content.

    ignorePlatforms?: string[]

    A list of platforms to ignore for React rendering. This can be used to disable React rendering on specific platforms. For example, you might want to ignore rendering on CLI platforms.

    layouts?: Record<string, MetaPageLayout>

    A map of layout components with their respective event handlers.

    rootElementId?: string

    The ID of the root DOM element where React will be mounted.