dillon1000/react

Commit

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`
Browse files
Changed paths1 file
First-parent comparison
M packages/react-devtools-core/src/standalone.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…