useSlot
function useSlot(slotKey, options?): SlotState;Defined in: packages/sdk/src/react/index.ts:54
Subscribe to a single slot. Re-resolves when the key changes or the
cache is invalidated. Returns {resolution, url, isLoading, error}.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
slotKey |
string |
options |
ResolveSlotOptions |