Skip to content
@drupflare/spool v1.0.0 GitHub
    Preparing search index...

    Type Alias NavigateOptions

    what a page renders its held routes with

    type NavigateOptions = {
        clientTag?: string;
        renderers?: Renderers;
        store: PackStore;
        templates?: Record<string, CompiledTemplate>;
    }
    Index
    clientTag?: string

    the page runtime's script tag, so a local page carries the tag the server injects

    renderers?: Renderers

    custom renderers keyed by route pattern, as the worker's serve takes them

    store: PackStore

    the pack store the page reads, the spool-bundle database the entry opens

    templates?: Record<string, CompiledTemplate>

    the compiled templates the page renders with, keyed by route pattern