Documents / @faasjs/react / FaasReactClientInstance
Type Alias: FaasReactClientInstance
FaasReactClientInstance =
object
Public interface returned by FaasReactClient.
Properties
browserClient
browserClient:
FaasBrowserClient
Underlying browser client used for the actual HTTP requests.
faas
faas: typeof
faas
Promise-based request helper bound to the registered base URL.
FaasDataWrapper
FaasDataWrapper: typeof
FaasDataWrapper
Wrapper component bound to the registered base URL.
id
id:
string
Unique identifier inherited from the underlying browser client.
onError?
optionalonError?:OnError
Optional error hook shared by faas and useFaas.
useFaas
useFaas: typeof
useFaas
Hook bound to the registered base URL.