Preparing search index...
The search index is not available
@use-pico
@use-pico
@use-pico/client
withQuery
Function withQuery
Creates useQuery hook (basically same as the one in React Query).
with
Query
<
TRequestSchema
,
TResponseSchema
>
(
__namedParameters
)
:
IWithQuery
<
TRequestSchema
,
TResponseSchema
>
Type Parameters
TRequestSchema
extends
RequestSchema
TResponseSchema
extends
ResponseSchema
Parameters
__namedParameters
:
Props
<
TRequestSchema
,
TResponseSchema
>
Returns
IWithQuery
<
TRequestSchema
,
TResponseSchema
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
@use-pico
Loading...
Creates useQuery hook (basically same as the one in React Query).