Stone.js API
    Preparing search index...

    Everything a renderer needs to display one resolved route.

    Two shapes come out of the same work: the page wrapped in its layout and providers, and the page alone for a renderer that supplies its own chrome. Which one is used, and what is done with it, is the renderer's business.

    interface PreparedPage {
        app: ReactNode;
        component: ReactNode;
        data: any;
        head?: HeadContext;
        layout?: string;
        snapshotData: Record<string, unknown>;
    }
    Index
    app: ReactNode

    The page wrapped in its layout and view providers.

    component: ReactNode

    The page alone.

    data: any

    The page's loader result.

    head?: HeadContext

    The merged head, layout first, page last.

    layout?: string

    The layout the page asked for.

    snapshotData: Record<string, unknown>

    What a hydrating renderer serializes: the pieces a second render needs.