fl_query 0.2.0
fl_query: ^0.2.0 copied to clipboard
Asynchronous data caching, refetching & invalidation library for Flutter
0.2.0 #
New #
- Paginated/Lagged Query support using
QueryJob'skeepPreviousData - Mutation event context (returned data from
onMutateavailable inonData&onError) - Support for
refetchOnMount. Now query will be refetched when a new widget is mounted.
Improvements #
- Only one Query & Mutation instance in
QueryBuilder&MutationBuilderwhich reduces memory usage - Optimistic updates are now context driven
0.1.0 #
Initial Release
QueryBowl&QueryBowlScopefor managing & caching all the query data.Queryfor advanced fetch, refetch & data management APIsMutationfor advanced mutate (a function that modifies data somewhere) & post-mutation management APIsQueryJobfor defining the logic of how data should be fetched or refetched or invalidatedMutationJobfor defining the logic of how data should be mutatedQueryBuilderfor binding theQuery&QueryJobto a Flutter WidgetMutationBuilderfor binding theMutation&MutationJobto a Flutter Widget