React hooks

Install

npm i @cometh/connect-react-hooks

Note

The hooks will throw an error if it is used outside of a ConnectProvider. Ensure that your component tree includes ConnectProvider to provide the necessary context.

Last updated