@wildberries/wb-front-performance-tracker
v1.0.4
Published
performance tracker for js and react
Downloads
48
Keywords
Readme
@wildberries/wb-front-performance-tracker
This package designed for performance tracking and contains:
- PerformanceMonitor - sender function for analytics
- PerformanceTrackHOC - HOC for React components
PerformanceMonitor contains methods:
- init - method to initialize
- setMeasurementsRequest - set measurements request
- sendMeasurements - send measurements marks with measurements request
- measure - add the measure mark
- addMeasurement - add measurement with data