fl_query_hooks 1.0.0-alpha.1
fl_query_hooks: ^1.0.0-alpha.1 copied to clipboard
Elite flutter_hooks compatible library for fl_query, the Asynchronous data caching, refetching & invalidation library for Flutter
Changelog #
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
1.0.0-alpha.1 - 2023-03-05 #
BREAKING
- The Jobs API has been disabled. So there's no
QueryJob,MutationJobandInfiniteQueryJobanymore. Instead, you can use theuseQuery,useMutationanduseInfiniteQuerydirectly- Some of classes were renamed to more mature names
QueryBowlProvider->QueryClientProviderQueryBowl->QueryClient- The unnecessary
getPreviousPageParamis now removed fromInfiniteQuerygetNextPageParamhas been renamed tonextPage- Also,
fetchNextPagehas been renamed tofetchNextQueryandInfiniteQuery'ssetQueryDatahas been renamed tosetDataand it now accepts data directly instead of a call back function- Finally,
QueryClient's unneededprefetchQuerymethod was eradicated- useForceUpdate hook is now removed from the package
Features #
0.3.1 - 2022-10-03 #
0.3.0 - 2022-09-23 #
0.2.0 #
0.1.0 #
Initial Release
useQueryfor binding theQuery&QueryJobdata to the UI layer of the applicationuseMutationfor binding theMutation&MutationJoboperations to the UI layer of the application