tanquery 0.3.0 copy "tanquery: ^0.3.0" to clipboard
tanquery: ^0.3.0 copied to clipboard

TanStack Query for Dart. Automatic caching, stale-while-revalidate, background refetching, mutations with optimistic updates, infinite queries. Pure Dart - no Flutter dependency.

0.2.0 #

0.1.0 #

  • Initial release
  • QueryClient with mount/unmount lifecycle
  • QueryCache with build-or-get, partial key matching, GC
  • Query state machine with 8-action reducer
  • QueryObserver with select, placeholderData, stale timer, refetch interval
  • Retryer with exponential backoff, pause/continue/cancel, 3 network modes
  • MutationCache with scoped sequential execution
  • Mutation with exact TanStack callback ordering
  • MutationObserver with mutate/mutateAsync
  • Hydration/dehydration for cache persistence
  • StreamedQuery for real-time data (WebSocket, SSE, LLM streaming)
  • Structural sharing via replaceEqualDeep
  • InMemoryQueryStorage
  • skipToken for type-safe conditional queries
  • StaleTime.static_ for never-stale data
4
likes
0
points
179
downloads

Publisher

verified publisherottomancoder.com

Weekly Downloads

TanStack Query for Dart. Automatic caching, stale-while-revalidate, background refetching, mutations with optimistic updates, infinite queries. Pure Dart - no Flutter dependency.

Repository (GitHub)
View/report issues

Topics

#cache #state-management #query #api #data-fetching

License

unknown (license)

Dependencies

meta

More

Packages that depend on tanquery