Autocapture + React
If you are not using React, you can skip to the next part of the quickstart guide.
The data we autocapture is based on the current state of the elements on your webpage. With React, a lot of useful information is lost during the compilation process, making the data available on the elements less readable and less useful. You can preserve some of the context from your original React components by using the Annotate React babel plugin.
Installation
If you use yarn:
Add the plugin to your babel config:
PreviousInstalling the Freshpaint Javascript SDK with Server-Side Rendering (SSR) + ReactNextConfiguring a Destination
Last updated