For AI agents: the documentation index is at llms.txt. Markdown versions are available by appending .md to any page URL, including this page's markdown.
Server utilities
Server-side bootstrap prefetching and serialization for Next.js Server Components.
Prefetch sync data on the server and pass it to client components, eliminating the client-side bootstrap request.
import {
decodeBootstrapSnapshot,
deserializeBootstrapSnapshot,
encodeBootstrapSnapshot,
isBootstrapSnapshotStale,
prefetchBootstrap,
seedStorageFromBootstrap,
serializeBootstrapSnapshot,
} from "@stratasync/next/server";prefetchBootstrap
Fetches the full bootstrap dataset from the sync server.
Published with Edda