Open incepter opened 1 year ago
useApi
The following features should be supported:
load cache and persist data
Queries
Mutations
hash function
cache enable
cache deadline
useApi
The following features should be supported:
load cache and persist data
Hydration and SSR
General
Queries
andMutations
(no cache and will invalidate queries)Done:
useApi
hash function
, rather than JSON.stringify on arguments.cache enable
: tune whether to apply cache for an api or not (dangerous, but sync states with useState and useReducer are okay!)cache deadline
specify after how much time a cached result should be considered staleHydration