flutter_query 0.5.1
flutter_query: ^0.5.1 copied to clipboard
An async state management package that simplifies data fetching, caching, and updates.
0.5.1 - 2025-01-14 #
This release adds support for infinite/paginated queries.
useInfiniteQueryhook for paginated data fetching with automatic page accumulationfetchNextPageandfetchPreviousPagefor bidirectional paginationhasNextPageandhasPreviousPagestate for pagination controlsmaxPagesoption to limit the number of accumulated pages- Full support for all standard query options (caching, refetching, retry, etc.)
0.4.0 - 2025-01-08 #
This release aligns the API with TanStack Query v5.
useQueryhook for data fetching with caching, refetching, and cancellationuseMutationhook for mutations with optimistic updatesuseQueryClienthook for imperative cache operations- Client-level default options for queries and mutations
0.3.7 and earlier #
Legacy codebase. Not maintained.