Function useEffectQuery

  • A wrapper around useQuery which causes the wrapped query to be trigged once each time the page renders.

    Parameters

    • queryKey: string
    • queryFn: (() => Promise<any>)
        • (): Promise<any>
        • Returns Promise<any>

    • Optional retry: number | boolean

    Returns UseQueryResult<any, Error>

Generated using TypeDoc