@ariana-framework/query
v1.1.0
Published
Ariana query package.
Readme
@ariana-framework/query
Query and cache package for Ariana applications.
Includes
- QueryClient
- query state signals
- stale-time handling
- retry support
- cancellation signal forwarding
Install
npm install @ariana-framework/query @ariana-framework/coreExample
import { createQueryClient } from '@ariana-framework/query';
const query = createQueryClient();
await query.fetch('user:1', async () => ({ id: 1 }));Status
Official early release. Mutation APIs and advanced invalidation are planned later.
