stax-monorepo
    Preparing search index...

    Interface MatchOptions

    Options for match.

    interface MatchOptions {
        initial?: boolean;
    }
    Index
    initial?: boolean

    Value returned on SSR when there's no matchMedia available. Defaults to false.

    If you know your app has a strong bias — a portfolio site that expects mostly mobile visitors, or a dashboard that's almost always desktop — bias this to reduce hydration flash on the majority case. For more sophisticated request-aware SSR defaults, see the follow-up Layer-based mechanism (tracked in a separate issue).