fl_query 0.2.0
fl_query: ^0.2.0 copied to clipboard
Asynchronous data caching, refetching & invalidation library for Flutter
v0.2.0 #
New #
- Paginated/Lagged Query support using
QueryJob
'skeepPreviousData
- Mutation event context (returned data from
onMutate
available inonData
&onError
) - Support for
refetchOnMount
. Now query will be refetched when a new widget is mounted.
Improvements #
- Only one Query & Mutation instance in
QueryBuilder
&MutationBuilder
which reduces memory usage - Optimistic updates are now context driven
v0.1.0 #
Initial Release
QueryBowl
&QueryBowlScope
for managing & caching all the query data.Query
for advanced fetch, refetch & data management APIsMutation
for advanced mutate (a function that modifies data somewhere) & post-mutation management APIsQueryJob
for defining the logic of how data should be fetched or refetched or invalidatedMutationJob
for defining the logic of how data should be mutatedQueryBuilder
for binding theQuery
&QueryJob
to a Flutter WidgetMutationBuilder
for binding theMutation
&MutationJob
to a Flutter Widget