React component profiling
Follow this guide to setup and use the Faro Profiler to get insights into the render performance of a React components.
Warning
Using the profiler has an impact on performance and should not be used in production.
To use the Faro profiler, import the Faro web-tracing
package and initialize Faro-React as follows:
import { withFaroProfiler } from '@grafana/faro-react';
export default withFaroProfiler(MyReactComponent);