minca
ApiReactInterfaces

Interface: QueryState\<R\>

Defined in: packages/react/src/use-query.ts:5

Type Parameters

Type Parameter
R

Properties

PropertyModifierTypeDescriptionDefined in
errorreadonlyError | nullWhy the query failed — usually a malformed query, saying what to fixpackages/react/src/use-query.ts:9
resultreadonlyR | nullThe latest result, or null until the first one arrives. result.complete is false while what it needs is still on its way.packages/react/src/use-query.ts:7

On this page