CacheableQuery

Interface for query-like results used in the compose layer.

Properties

Link copied to clipboard

Convenience property to know if your cache already has data. This can be helpful with optimistic updates so that you don't always show a spinner if there is cache information already, but you are doing a fetch operation

Link copied to clipboard
abstract val data: TData?
Link copied to clipboard
abstract val error: TError?
Link copied to clipboard
abstract val fetchState: FetchState