tanquery 0.3.0
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 #
- Updated repository URL to https://github.com/OttomanDeveloper/tanquery
- Comprehensive beginner-friendly README with progressive disclosure
- Before/after comparisons, API reference tables, architecture diagram
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