React SDK
Integrate Capxul with a provider and TanStack Query hooks while the Core SDK owns domain behavior.
@capxul/sdk-react is the React projection over @capxul/sdk. One provider
owns client bootstrap and query state; hooks expose the Core SDK client's
domain method bundles as queries and mutations.
<CapxulProvider publishableKey={publishableKey}>
<App />
</CapxulProvider>Choose your path
Add your first provider
Bootstrap the client and render explicit loading and failure states.
Solve an integration task
Inject a client, use an existing QueryClient, or handle bootstrap UI.
Look up the React contract
Provider modes, public exports, and hook return conventions.
Understand the projection
See where React ownership ends and the Core SDK begins.
Two references, two jobs
This section explains how to integrate the React package. The hook catalog remains the detailed API reference with one page per hook. The Core SDK section owns domain method behavior and capability status.
React hooks project Core SDK operations; they do not make an unavailable Core operation work. Check Core SDK capability status before integrating a domain operation.