dillon1000/react

Commit

[DevTools] Validate Store operation invariants (#37050)

Builds on #37049 by validating Store operation invariants before
mutation. Missing nodes, invalid element types, inconsistent
parent-child relationships, and invalid reorder operations now emit and
throw explicit errors instead of silently continuing with corrupted
state.

Adds a canonical-render regression test for invalid child removal.
Browse files
Changed paths2 files
First-parent comparison
M packages/react-devtools-shared/src/__tests__/store-test.js ModifiedM packages/react-devtools-shared/src/devtools/store.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…