class UnresolvedSuspenseError
extends Error
Since 0.6.0

A rendered tree holds a pending <Suspense> boundary. Buffered rendering serves only the fallback — with a 200 and no error — so it is refused by name instead of silently shipping a loading placeholder forever. Streaming resolution is deferred to a follow-up milestone; the remedy today is to move the <Suspense> boundary out of the rendered tree.

Constructors

UnresolvedSuspenseError(component: Component<never>)

Builds the refusal, naming the component and pointing the reader at the deferred streaming milestone and the boundary-out remedy.

Parameters
component: Component<never>

The component whose rendered tree holds the boundary

Usage

import { UnresolvedSuspenseError } from "view-plugin/src/index.ts";