mirror of
https://github.com/hanzoai/react.git
synced 2026-09-24 17:02:27 +00:00
Make `onErrorOrWarning` and `getComponentStack` part of `rendererInterface`. By doing this, they will be available from the global hook `rendererInterfaces` Map. This makes them available to be used by Hook, which soon will be the only one who is doing console patching. This is also a pre-requisite for removing `registerRenderer`: https://github.com/facebook/react/blob/17bd6c87d7a9c8b2d4f63c151b5656fdf2737257/packages/react-devtools-shared/src/backend/console.js#L113-L121
This directory contains code shared between several DevTools packages:
- /packages/react-devtools-core
- /packages/react-devtools-extensions
- /packages/react-devtools-inline
It is not published or released anywhere directly.