dillon1000/react
Commit
Browse files [DevTools] Don't show the root as being non-compliant (#34827)
`isStrictModeNonCompliant` on the root just means that it supports strict mode. It's inherited by other nodes. It's not possible to opt-in to strict mode on the root itself but rather right below it. So we should not mark the root as being non-compliant. This lets you select the root in the suspense tab and it shouldn't show as red with a warning.
Changed paths1 file
First-parent comparisonpackages/react-devtools-shared/src/devtools/views/Components/InspectedElement.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…