flutter_query 0.0.10
flutter_query: ^0.0.10 copied to clipboard
A new Flutter package project.
Flutter Query #
An unfinished work in progress project inspired from React Query
Any contributors are welcome to join currently and should reach out
The goal of this project is to have a parallel api to the react-query (same hooks, function signatures, etc.) but also including dart/flutter idioms and familiar patterns.
Implemented hooks #
useQuery(key, queryFn)
- returns an AsyncSnapshot
useInfiniteQuery(key, queryFn, [getFetchMore])
- returns an InfiniteQueryContext