dillon1000/react

Commit

[react-devtools-facade] 5/ support an already-installed DevTools hook (#36682)

Makes `installFacade` usable on pages that already have a DevTools
backend — most importantly the **React DevTools browser extension** — by
attaching to the existing `__REACT_DEVTOOLS_GLOBAL_HOOK__` instead of
refusing to install.

This is important, because otherwise if the page had Facade installed,
the user won't be able to use React DevTools browser extension.
Browse files
Changed paths2 files
First-parent comparison
M packages/react-devtools-facade/src/DevToolsFacade.js ModifiedM packages/react-devtools-facade/src/__tests__/DevToolsFacade-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…