Hooks
useFrigade
The useFrigade()
hook exposes the underlying Frigade JS SDK instance that powers the React SDK.
View the Frigade class docs to see the available fields and methods.
About this hook
The useFrigade
hook can be used to access the underlying Frigade JS SDK instance and interact with it directly.
It should rarely be used as the provided useFlow, useUser, and useGroup hooks should be sufficient for most use cases.
Example usage:
Make sure to call any Frigade hook within the context of
<Frigade.Provider />