dillon1000/react
Commit
Browse files [DevTools] Improve Layering Between Console and Renderer (#30925)
The console instrumentation should not know about things like Fibers. Only the renderer bindings should know about that stuff. We can improve the layering by just moving all that stuff behind a `getComponentStack` helper that gets injected by the renderer. This sets us up for the Flight renderer #30906 to have its own implementation of this function.
Changed paths5 files
First-parent comparisonpackages/react-devtools-shared/src/__tests__/console-test.js ModifiedM packages/react-devtools-shared/src/backend/console.js ModifiedM packages/react-devtools-shared/src/backend/fiber/renderer.js ModifiedM packages/react-devtools-shared/src/backend/flight/renderer.js ModifiedM packages/react-devtools-shared/src/hook.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…