Skip to main content

hooks/useSCFetchEvent

Functions

useSCFetchEvent()

useSCFetchEvent(object): object

info

This custom hook is used to fetch an event object.

Parameters

ParameterTypeDescription
objectobject*
object.autoSubscribe?boolean-
object.cacheStrategy?CacheStrategies
object.event?SCEventType*
object.id?string | number*

Returns

object

MemberType
errorstring
scEventSCEventType
setSCEvent(event) => void

Source

packages/react-core/src/hooks/useSCFetchEvent.ts:21