queryx 0.1.0 copy "queryx: ^0.1.0" to clipboard
queryx: ^0.1.0 copied to clipboard

A fast, lightweight, production-grade server-state engine for Flutter/Dart. Query, mutation, caching, deduplication, retry, pagination and offline sync — state-management agnostic. Works with Riverpod [...]

Changelog #

0.1.0 #

Initial release of the core server-state engine.

  • QueryClient, Query<T>, Mutation<T,V,C>, InfiniteQuery<T,P>.
  • Deduplication, caching (staleTime/cacheTime), invalidation, garbage collection.
  • Retry with exponential backoff + jitter.
  • Optimistic updates with snapshot/rollback.
  • Normalized QueryError + pluggable ErrorMapper.
  • Single-flight auth-refresh coordination.
  • Transport-agnostic HttpClientAdapter; persistence interfaces.
  • Unit test suite covering the engine's core guarantees.

See ROADMAP.md for what's planned next (Dio/Riverpod/GetX/persistence adapters, offline mutation queue, DevTools UI).

2
likes
0
points
208
downloads

Documentation

Documentation

Publisher

unverified uploader

Weekly Downloads

A fast, lightweight, production-grade server-state engine for Flutter/Dart. Query, mutation, caching, deduplication, retry, pagination and offline sync — state-management agnostic. Works with Riverpod, GetX, Bloc, Provider, or plain setState.

Homepage
Repository (GitHub)
View/report issues

Topics

#networking #caching #state-management #api #offline

License

unknown (license)

Dependencies

meta

More

Packages that depend on queryx