Install the Unify Intent client in a React app.
You can install the Unify Intent React library with your preferred package manager:
First, wrap your React app in a UnifyIntentProvider
:
The UnifyIntentProvider
automatically takes care of mounting and unmounting the client
for you whenever the component mounts and unmounts. So any components rendered in your app
can freely access and use the intent client using the useUnifyIntent
hook:
You can then use the resulting client instance to log intent data. See the Usage page for more details on how to use the client.
Install the Unify Intent client in a React app.
You can install the Unify Intent React library with your preferred package manager:
First, wrap your React app in a UnifyIntentProvider
:
The UnifyIntentProvider
automatically takes care of mounting and unmounting the client
for you whenever the component mounts and unmounts. So any components rendered in your app
can freely access and use the intent client using the useUnifyIntent
hook:
You can then use the resulting client instance to log intent data. See the Usage page for more details on how to use the client.