Client SDK
You can consume the query services by writing HTTP calls directly, but it's time consuming and error prone. Just as with deriving the CRUD service from the data model, we can derive client SDKs automatically, too.
Today, ZenStack provides two official client SDKs:
- TanStack Query — a fully typed, feature-rich query/mutation hooks integration for React, Vue, and Svelte.
- Fetch Client — a lightweight, framework-agnostic
fetch-based CRUD client for any JavaScript runtime.
A community-built Pinia Colada integration is also available for Vue.