Releases: lahmatiy/react-render-tracker
Releases · lahmatiy/react-render-tracker
0.7.8
- Fixed location retrieval for evaled code without a
//# sourceURL=...comment. Although usingevalis considered an anti-pattern, it is widely used in dev builds by bundlers like webpack and rspack as a module wrapper. When the comment is missing, the call site entry string format in the stack trace changes. This update adds parsing support for such entries in V8 stack traces to ensure correct behavior. It also fixes the hooks call tree, which relies on location data to determine call nesting.
0.7.7
0.7.6
0.7.5
0.7.4
- Fixed multiple creation of source map instances for a single script
- Improved hook path capturing:
- Adjusted the stack trace limit to capture up to 25 entries, guaranteeing a minimum of 20 path entries, an improvement from the previous 6 (#30)
- Implemented an alternative method for path extraction to cater to scenarios where a function is either unnamed or its name doesn't start with
use - Resolved compatibility issues with WhyDidYouRender (#22)
- Fixed an issue where the hooks list doubled in some cases when a component rendered in StrictMode
0.7.3
0.7.2
0.7.1
- Added selecting a component on the page (#31)
- Added DOM elements highlighting of a component on hover in component's tree (#31)
- Added capturing and displaying host components (DOM elements for
react-dom) and portals - Added ancestors section in component's details panel
- Added displaying a list of detected unsupported renderers on the React renderer connection waiting screen. This should help figure out why a React can't be connected.
- (experimental) Considered
productionandprofilingReact builds as partially functional, i.e. RRT works but some data might is not capturing (e.g. a component update triggers, used hooks etc. see #25) - Fixed memory leaks related to keeping unmounted fibers by RRT internal dictionaries
- Fixed navigation when a fiber is pinned
- Removed "Blocking mode" mark for a render root as outdated
- Added
distfiles toexports - Reworked
headless-browser-clientbuild to provide a standalone bundles (no deps or any imports)
0.7.0
- Added renderer's name & version into the toolbar
- Reduced a main bundle size by ~53Kb (12%)
- Excluded source files from the npm package
- Bumped rempl to
1.0.0-alpha.23 - Made all dependencies as developer only
0.6.2 Experimental data client API for a browser, Puppeteer and Playwright
- [EXPERIMENTAL] Added new entry points (exports):
react-render-tracker/data-client– data client API to interact with React Render Trackerreact-render-tracker/headless-browser-client– an adapter for headless browser frameworks which is applied to a page object to get the data client API in the context of the page
- Added warning when non-development version of React is used instead of trying to inspect it and crash
- Bumped rempl to
1.0.0-alpha.20

