@leracherry/tracelens-react
v1.0.0
Published
React render attribution for TraceLens
Maintainers
Readme
@leracherry/tracelens-react
React profiler boundaries for TraceLens v1.0.0.
Installation
Install from npm using the command below, or see GitHub Packages authentication. Both registries use the same package names. Keep all TraceLens packages on matching versions.
npm install @leracherry/[email protected]Usage
import { TraceBoundary } from '@leracherry/tracelens-react';
<TraceBoundary name="Checkout">
<Checkout />
</TraceBoundary>;Initialize @leracherry/tracelens-browser first. Wrap regions with TraceBoundary or the app with TraceLensProfiler. Production timing requires a profiling-enabled React build; boundaries report region timings, not automatic fiber-level attribution.
See the guide and release notes. Licensed MIT.
