Wrapper around "native" react-query useQuery hook using schemas for request/response, thus validating everything coming in and out.
useQuery
Wrapper around useQuery hook from react-query library. It uses schemas for request/response, thus validating everything coming in and out.
react-query
This method is the core hook for fetching data using queries. Query is executed without any other dependencies (like useSourceQuery does).
If you need access to low-level config of the query, use useQueryEx instead.
Wrapper around "native" react-query
useQuery
hook using schemas for request/response, thus validating everything coming in and out.Remarks
Wrapper around
useQuery
hook fromreact-query
library. It uses schemas for request/response, thus validating everything coming in and out.This method is the core hook for fetching data using queries. Query is executed without any other dependencies (like useSourceQuery does).
If you need access to low-level config of the query, use useQueryEx instead.
See