dillon1000/react
Commit
Browse files Avoid HTML injection in standalone errors (#36839)
## Summary - Render standalone DevTools server errors with DOM nodes instead of HTML strings. - Preserve the existing error box classes and copy while inserting error text with `textContent`. ## How did you test this? - `corepack yarn prettier` - `corepack yarn lint packages/react-devtools-core/src/standalone.js`
Changed paths1 file
First-parent comparisonpackages/react-devtools-core/src/standalone.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…