rwsdk
Version:
Build fast, server-driven webapps on Cloudflare with SSR, RSC, and realtime
5 lines (4 loc) • 336 B
JavaScript
// Public client entry point for the hibernation-aware useSyncedState transport.
// This keeps the capnweb loader out of the bundle for apps that opt into hibernation.
export { getSyncedStateClient, setSyncedStateClientForTesting, } from "./client-core.js";
export { useSyncedState, createSyncedStateHook, } from "./useSyncedState.js";