dillon1000/react
Commit
Browse files SuspenseList support in DevTools (#17145)
* SuspenseList support in DevTools This adds SuspenseList tags to DevTools so that the name properly shows up. It also switches to use the tag instead of Symbol type for Suspense components. We shouldn't rely on the type for any built-ins since that field will disappear from the fibers. How the Fibers get created is an implementation detail that can change e.g. with a compiler or if we use instanceof checks that are faster than symbol comparisons. * Add SuspenseList test to shell app
Changed paths5 files
First-parent comparisonpackages/react-devtools-shared/src/__tests__/__snapshots__/store-test.js.snap ModifiedM packages/react-devtools-shared/src/__tests__/store-test.js ModifiedM packages/react-devtools-shared/src/backend/renderer.js ModifiedM packages/react-devtools-shared/src/types.js ModifiedM packages/react-devtools-shell/src/app/SuspenseTree/index.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…