Kingkor Roy Tirtho
8df1fc54c3
fix(InfiniteQueryJob): remove unneeded keepPreviousData property
2022-09-23 10:17:17 +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
e0c3d7f4ba
docs: update according to the new query bowl refactor
2022-09-22 22:26:44 +06:00
Kingkor Roy Tirtho
33f716a165
Merge pull request #13 from KRTirtho/feat/separation-of-logic
...
`QueryBowl` as a separate class service
2022-09-22 22:11: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
f435f101c4
docs: add infinite query page
2022-09-19 12:20:48 +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
6eb7b2a429
feat(infinite-query): add setInfiniteQueryData support
2022-09-14 13:04:55 +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
61958c7d94
feat(infinite-query): add all the features of query in infinite query
...
Separated common logic of both `InfiniteQuery` and `Query` in a base class `BaseQuery` resulting in `InfiniteQuery` inheriting already having implemented features of `Query`
2022-08-24 21:47:13 +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
0c2eae1f11
docs: update mentions of react-query with tanstack-query
2022-08-11 09:49:17 +06:00
Kingkor Roy Tirtho
c514de57c7
Merge branch 'docs'
2022-08-07 14:04:34 +06:00
Kingkor Roy Tirtho
3b2e75272b
build: changelog update
2022-08-07 14:04:21 +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
96b8450357
docs: readme support me section
2022-08-07 13:32:53 +06:00
Kingkor Roy Tirtho
4f76e791c2
Merge pull request #10 from KRTirtho/docs
...
Docs
2022-08-07 13:30:36 +06:00
Kingkor Roy Tirtho
bd70d2800f
Merge branch 'main' into docs
2022-08-07 13:09:55 +06:00
Kingkor Roy Tirtho
58674ab30a
docs: add dynamic query & mutation section
2022-08-07 13:09:19 +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
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
4e329169b5
[docs] lazy query & optimistic updates added
2022-07-26 21:59:32 +06:00
Kingkor Roy Tirtho
e2559504c3
[docs] mutation documentation added
2022-07-26 14:56:07 +06:00
Kingkor Roy Tirtho
f0741045a5
query tests added
2022-07-20 12:21:18 +06:00
Kingkor Roy Tirtho
915f2aecfc
[docs] MutationJob docs added
...
[docs] fl-query for flutter blog added
2022-07-18 18:39:28 +06:00
Kingkor Roy Tirtho
2a75aefb0f
Reademes updated with new banner
...
Notice board added
2022-07-13 10:11:02 +06:00
Kingkor Roy Tirtho
115b9e5f5d
Docs added for Query QueryJob & QueryBowlScope
...
Configured favicon
2022-07-13 04:33:48 +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
89272d5c00
Updated fl_query_hooks deps
2022-07-08 04:41:22 +06:00
Kingkor Roy Tirtho
151e5fecfa
Logo links are permanent in README now
2022-07-08 04:28:31 +06:00
Kingkor Roy Tirtho
90dc1470ed
README logo path fix
2022-07-08 04:24:56 +06:00
Kingkor Roy Tirtho
e580fb16d6
Added melos to manage monorepo
2022-07-08 04:21:44 +06:00
Kingkor Roy Tirtho
8b834fce82
Updated and added README
2022-07-08 04:03:35 +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
Kingkor Roy Tirtho
8563abf117
finalized for 1st release
2022-07-07 10:30:28 +06:00
Kingkor Roy Tirtho
9eb06a3cea
Docusaurus borken links fix
2022-07-07 10:13:51 +06:00
Kingkor Roy Tirtho
afa9933c91
refetch on external data change support added
2022-07-05 09:28:43 +06:00
Kingkor Roy Tirtho
5f8935a015
Docs Gettings started pages written
2022-07-03 20:39:02 +06:00
Kingkor Roy Tirtho
53fc86eac1
Docs: Front page Images added
...
QueryBuilder & useQuery onData, onError not working bugfix
2022-07-03 19:08:18 +06:00
Kingkor Roy Tirtho
8a4f1f7545
newly designed Icon addition
...
basic documentation homepage designed
documentation theme configured
2022-06-27 17:28:31 +06:00
Kingkor Roy Tirtho
b65b3d28c4
documentation site generated
2022-06-27 12:34:08 +06:00
Kingkor Roy Tirtho
78bb84e7b9
basic README Documentation added
...
doc comments for query bowl added
license, contribution guidelines & code of conduct added
2022-06-26 23:47:53 +06:00
Kingkor Roy Tirtho
ff8fa9eb15
removed unneeded query parameter from QueryTaskFunction
2022-06-26 15:03:23 +06:00
Kingkor Roy Tirtho
d8024714cd
removed dependOnQuery from beacuse of infinite renders
...
example created for various usecases with various features
hooks now use standard hook API instead of using Hook Class
variable query & mutation not working bug fix
mutation onMutate listeners not getting called bug fix
2022-06-24 12:51:27 +06:00
Kingkor Roy Tirtho
2ead7fd2be
refetchOnReconnect support added for Query
2022-06-22 21:52:13 +06:00