1.0.2 • Published 11 months ago
rendering_insights v1.0.2
installation
Run npm i rendering_insights
instruction to use
1. Must import `Profiler` from `react`
2. Wrap your component with Profiler with following props
<Profiler id={YourComponent} onRender={handleRender}>
<YourComponent />
<Profiler />
Use:
import handleRender from 'rendering_insights';