useImFusionState
ts
Returns the SDK initialization state.
Both imf and error are nullable. Use this when you need to handle
loading, ready, and error states in a single component.
Returns
The current ImFusionState
Throws
If called outside of an ImFusionProvider
Example
tsx