Skip to content

Releases: lahmatiy/react-render-tracker

0.7.8

Choose a tag to compare

@lahmatiy lahmatiy released this 31 Mar 23:50
  • Fixed location retrieval for evaled code without a //# sourceURL=... comment. Although using eval is 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

Choose a tag to compare

@lahmatiy lahmatiy released this 13 Feb 15:29
  • Fixed crash when React's global devtools hook is defined but undefined (#42)

0.7.6

Choose a tag to compare

@lahmatiy lahmatiy released this 17 Oct 13:02
  • Fixed tracking of mounts for hydrated trees (#37)

0.7.5

Choose a tag to compare

@lahmatiy lahmatiy released this 06 Oct 15:14
  • Added tracking for all known React hooks
  • Added new section Hooks in fiber details
    image
  • Added Component stats page
    image
  • Added displayName field to fiber-type-def event
  • Fixed missed console.log() (#36)

0.7.4

Choose a tag to compare

@lahmatiy lahmatiy released this 16 Aug 15:57
  • 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

Choose a tag to compare

@lahmatiy lahmatiy released this 09 Jun 10:45
  • Added StrictMode capturing and displaying in components tree
  • Fixed capturing component owner in some cases
  • Fixed tracking for useSyncExternalStorage hook usage that may lead to infinite updates loop (#35)

0.7.2

Choose a tag to compare

@lahmatiy lahmatiy released this 07 Jun 01:01
  • Added tracking for useSyncExternalStore hook changes
  • Added tracking for useTransition hook changes
  • Fixed crash when useSyncExternalStore hook is used (#34)
  • Fixed missed details capturing for first state hook changes

0.7.1

Choose a tag to compare

@lahmatiy lahmatiy released this 06 Jun 12:09
  • 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 production and profiling React 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 dist files to exports
  • Reworked headless-browser-client build to provide a standalone bundles (no deps or any imports)

0.7.0

Choose a tag to compare

@lahmatiy lahmatiy released this 10 Jul 20:33
  • 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

Choose a tag to compare

@lahmatiy lahmatiy released this 16 May 08:33
  • [EXPERIMENTAL] Added new entry points (exports):
  • 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