Overview
This section provides a detailed reference for all React hooks available in the Suki Web SDK.UseSuki Hook
TheuseSuki hook is a React hook for managing SDK state and operations within React components.
The code snippet below shows how to use the useSuki hook to access SDK state and methods:
Typescript
Returns
It returns aUseSukiReturn object containing SDK state and methods for ambient session management.
UseSukiReturn Type
Return type of theuseSuki hook containing SDK state and methods.
JavaScript