Run a server loader against a context, applying its cross-boundary policy and failure handling.
Never throws for expected load failures: the policy decides whether to fall back, defer to the
client, or give up. Genuine programming errors in onError are the caller's responsibility.
The loader descriptor.
The loader context.
A LoadOutcome instructing the renderer.
Server data-loading API for React pages, re-exported from
@stone-js/use-view.A page's
handle(event)is its loader. For fine control over the SSR ⇄ CSR boundary — e.g. fetching authenticated data from an API during SSR with the request token, and degrading gracefully when it fails — wrap the fetch in a server loader: