v0.3.0
Highlights
InfiniteQuery
support- Lazy updates. Now fl_query updates all the listeners when needed instead of updating the entire widget tree
QueryBowl
is now refactored to a separate class. It fixes the biggest performance overhead of loading all the queries/mutations in every new page- Custom cache support via
QueryCache
- Multiple
QueryBowl
and nestedQueryBowl
support just like any Dependency Injection thanks to newQueryBowlScope
Features
- add initial support for
InfiniteQuery
(1452d7d) - infinite-query: add
useInfiniteQuery
hook with example (2a3ac29) - infinite-query: add all the features of query in infinite query (61958c7)
- infinite-query: add refetchPages, refetchOnStale, refetchOnMount support (95b1837)
- infinite-query: add setInfiniteQueryData support (6eb7b2a)
- infinite-query: onData and onError listener support (f47ca98)
- query_bowl:
QueryBowl
as separate class - performance: lazily update ListenerWidgets or listeners instead of triggering an update for whole widget tree
Bug Fixes
- InfiniteQueryJob: remove unneeded
keepPreviousData
property (8df1fc5)
Full Changelog: v0.2.0...v0.3.0