dillon1000/react
Commit
Browse files DevTools should not crawl unmounted subtrees when profiling starts (#23162)
Previously we crawled all subtrees, even not-yet-mounted ones, to initialize context values. This was not only unecessary, but it also caused an error to be thrown. This commit adds a test and fixes that behavior.
Changed paths2 files
First-parent comparisonpackages/react-devtools-shared/src/__tests__/profilerStore-test.js ModifiedM packages/react-devtools-shared/src/backend/renderer.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…