Function: useGet
▸ Const
useGet<T
>(url?
, options?
): [result: T, loading: boolean, refresh: function]
Type parameters
Name | Type | Description |
---|---|---|
T | any | the expected type of the response sent by the server. |
Parameters
Name | Type |
---|---|
url? | null | string |
options | UseGetOptions <T > |
Returns
[result: T, loading: boolean, refresh: function]
Defined in
onekijs/packages/onekijs-framework/src/fetch/useGet.ts:19