dillon1000/react
Commit
Browse files DevTools: Only show StrictMode badge on root elements (#23012)
* DevTools: Only show StrictMode badge on root elements Showing an inline non-compliance badge for every element in the tree is noisy. This commit changes it so that we only show inline icons for root elements (although we continue to show an icon for inspected elements regardless).
Changed paths1 file
First-parent comparisonpackages/react-devtools-shared/src/devtools/views/Components/Element.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…