Arc.React
    Preparing search index...

    Interface QueryBoundaryProps

    Props for QueryBoundary.

    interface QueryBoundaryProps {
        children: ReactNode;
        fallback?: ReactNode;
        loadingFallback?: ReactNode;
        onError?: (info: QueryErrorInfo) => ReactNode;
    }

    Hierarchy (View Summary)

    Index

    Properties

    children: ReactNode
    fallback?: ReactNode

    A React node to render when an error is caught. Use this for simple static fallback UIs. When both fallback and onError are provided, onError takes precedence.

    loadingFallback?: ReactNode

    The fallback rendered by the inner <Suspense> while queries are loading. Defaults to null (no visible loading state) when omitted.

    onError?: (info: QueryErrorInfo) => ReactNode

    Called when the boundary catches an error. Return a React node to render in place of the failed subtree, or undefined / null to fall back to the default error UI.