Kingkor Roy Tirtho
1ea9370570
feat: use function hooks instead of class hooks
2023-02-26 10:51:28 +06:00
Kingkor Roy Tirtho
d964216ee1
chore: remove unnecessary deps
2023-02-23 23:44:24 +06:00
Kingkor Roy Tirtho
c068c41b46
chore: use custom cache prefix for hooks example
2023-02-23 23:37:23 +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
074175ed39
feat: add query and infinite query disk caching support
2022-12-15 15:43:40 +06:00
Kingkor Roy Tirtho
a7c03f891f
fix: refetchOnExternalDataChange isn't working #18
2022-12-14 14:06:40 +06:00
Kingkor Roy Tirtho
6676f508ae
build: generated files update
2022-10-12 22:12:25 +06:00
Kingkor Roy Tirtho
f0d3bd36a7
chore: update generated configuration
2022-10-07 19:46:44 +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
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
f435f101c4
docs: add infinite query page
2022-09-19 12:20:48 +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
95b1837620
feat(infinite-query): add refetchPages, refetchOnStale, refetchOnMount support
2022-09-14 12:49:30 +06:00
Kingkor Roy Tirtho
1452d7d79e
feat: add initial support for InfiniteQuery
...
Added new infinite query class with it's own builder widget and integration with query_bowl
The `cast` method used in mutation and query are now a mixin instead of BasicOperation property
2022-08-21 20:10:40 +06:00
Kingkor Roy Tirtho
c02f42a31a
build: bump versions for upcoming v0.2.0 & add changelog
2022-08-07 13:58:25 +06:00
Kingkor Roy Tirtho
cdd1e96b2a
Merge branch 'main' into docs
2022-08-07 12:15:06 +06:00
Kingkor Roy Tirtho
a28cc2801c
chore: merge main
2022-08-07 12:14:56 +06:00
Kingkor Roy Tirtho
8eaa6b04d1
docs: add paginated-query section and update optimistc update section
2022-08-07 12:13:03 +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
4d6d1a1648
refactor(example): package specific examples instead of a single example
2022-08-04 09:20:20 +06:00