dillon1000/react

Commit

Make DevTools check document.contentType before injecting (#17739)

It should only inject the global hook into HTML documents. This will avoid breaking syntax highlighting for e.g. XML documents.
Browse files
Changed paths1 file
First-parent comparison
M packages/react-devtools-extensions/src/injectGlobalHook.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…