Kingkor Roy Tirtho
6c544922a3
fix: mutation onSuccess doesn't refresh all pages of infinite queries
2023-09-09 15:27:54 +06:00
Kingkor Roy Tirtho
7dd9036e69
chore: more comment and 1 level deep BuildContext
2023-06-10 12:12:49 +06:00
Kingkor Roy Tirtho
5332bd16d3
fix(fl_query_hooks): fetch query when queryKey changes
2023-03-04 21:53:31 +06:00
Kingkor Roy Tirtho
0c819d4e11
refactor: more convenient ways customizing config
2023-03-02 18:51:50 +06:00
Kingkor Roy Tirtho
cf2550a290
fix(fl_query_hooks): query/mutation reset to initial memoized values on hot reload
2023-02-28 22:21:20 +06:00
Kingkor Roy Tirtho
f2a23b085c
feat: new next_page signature, query/mutation fn in notifier and safe update in use_updater
2023-02-26 13:51:40 +06:00
Kingkor Roy Tirtho
1ea9370570
feat: use function hooks instead of class hooks
2023-02-26 10:51:28 +06:00
Kingkor Roy Tirtho
72a4646af8
chore: remove _forbidden
2023-02-23 23:34:15 +06:00
Kingkor Roy Tirtho
383d0e0a85
feat: use mutation hook add
2023-02-23 23:33:56 +06:00
Kingkor Roy Tirtho
f9a5207403
feat: useInfiniteQuery hook add
2023-02-23 23:21:57 +06:00
Kingkor Roy Tirtho
7fabf44756
feat: useQuery hook with working example
2023-02-23 22:50:37 +06:00
Kingkor Roy Tirtho
f632fe8403
feat: clean old junk
2023-02-10 19:08:30 +06:00
Kingkor Roy Tirtho
0af8190cf8
fix: state update on unmounted hook and infinite query cache refetch not working
2023-02-10 18:52:27 +06:00
Kingkor Roy Tirtho
a7c03f891f
fix: refetchOnExternalDataChange isn't working #18
2022-12-14 14:06:40 +06:00
Kingkor Roy Tirtho
e9c8b7903b
fix(fl_query_hooks): unneeded empty instances of query/mutation
...
fix(infinite_query): getNextPageParam & getPreviousPageParam non-null return required
2022-10-03 21:57:00 +06:00
Kingkor Roy Tirtho
03a053bba6
fix(fl_query_hooks): newest query/mutation/infinite-query instance not getting returned
2022-09-23 09:50:22 +06:00
Kingkor Roy Tirtho
2b835505a3
refactor(QueryBowl): query bowl logic as a separate class instead of a stateful widget
...
feat: add QueryCache class for storing, updating, removing all the query/mutation/infiniteQueries
refactor(test): update tests according to new query bowl refactor
refactor(fl_query_hooks): update the hooks according to new query bowl refactor
2022-09-22 22:03:28 +06:00
Kingkor Roy Tirtho
f47ca98472
feat(infinite-query): onData and onError listener support
2022-09-16 14:32:23 +06:00
Kingkor Roy Tirtho
2a3ac29f64
feat(infinite-query): add useInfiniteQuery hook with example
2022-09-14 13:14:23 +06:00
Kingkor Roy Tirtho
462a7042fa
feat: add support for keepPreviousData & examples regarding this
2022-08-07 10:54:28 +06:00
Kingkor Roy Tirtho
6d2952ae6a
more tests added for Query
...
prefetchQuery support added
seperate methods for adding & removing listeners for events of both query & mutations
refetchInterval not working when used Query.fromOptions bug fixed
2022-07-28 12:01:37 +06:00
Kingkor Roy Tirtho
f0741045a5
query tests added
2022-07-20 12:21:18 +06:00
Kingkor Roy Tirtho
88841e71f8
Query & Mutation Builders now doesn't create a new instance
2022-07-12 03:15:44 +06:00
Kingkor Roy Tirtho
4afaa4b471
Separated vanilla flutter & the flutter_hooks version of the package 😢
...
CHANGELOGS created for both package
2022-07-08 03:48:04 +06:00