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

Fast, lightweight server-state engine for Dart & Flutter — caching, deduplication, retry, pagination, mutations, and offline sync. Works with any state manager.

Changelog #

0.1.1 #

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
155
points
207
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

Fast, lightweight server-state engine for Dart & Flutter — caching, deduplication, retry, pagination, mutations, and offline sync. Works with any state manager.

Homepage
Repository (GitHub)
View/report issues

Topics

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

License

MIT (license)

Dependencies

meta

More

Packages that depend on queryx