- Preparing search index...
- The search index is not available
Chess Bots
- useEffectQuery(queryKey: string, queryFn: (() => Promise<any>), retry?: number | boolean): UseQueryResult<any, Error>
-
Parameters
-
queryKey: string
-
queryFn: (() => Promise<any>)
-
- (): Promise<any>
-
Returns Promise<any>
-
Optional
retry: number | boolean
Returns UseQueryResult<any, Error>
A wrapper around
useQuery
which causes the wrapped query to be trigged once each time the page renders.