Releases: lahmatiy/react-render-tracker
Releases · lahmatiy/react-render-tracker
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
production
andprofiling
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 toexports
- Reworked
headless-browser-client
build 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
0.6.1
0.6.0 – Info sections, bailouts, state change locations, open in editor and more
0.5.0 |
0.6.0 |
---|---|
- Added info sections for a selected fiber:
- Added commit label in event log
- Added tracking for
setState()
anddispatch()
callbacks ofuseReducer()
anduseState()
hooks for function components - Added tracking for
setState()
andforceUpdate()
method calls for class components - Added update bailouts events and a count badge for a fiber on fiber tree (supported bailouts:
React.memo()
,shouldComponentUpdate()
and no changes in state) - Added a render mode badge for render roots
- Added open in editor feature which might be enabled and configured with
openSourceLoc
option on<script>
(see detail in readme) - Added source location resolving to an original module locations using source maps
- Added shortcuts in search input:
Enter
– select next matched fiberShift+Enter
– select previous matched fiberEscape
– clear search input
- Added prev/next fiber selection with
Up
andDown
keys - Added support for Firefox
- Reworked event list markup and style
- Improved warnings on update changes:
- Display which change triggers a warning in update changes details (on change type badge)
- Display warning for a context value shallow equal change for the context provider fiber only (instead of a warning on each consumer fiber)
- Added warning when multiple instances of React are detected and attach to the first one only instead of unpredictable behaviour (multiple instances of React will be supported in the future releases)
- Improved testing for supported version of React/ReactDOM, improved warning for unsupported renderer (something different from
react-dom
or a version prior16.9
which is lowest supported version for now)