dillon1000/react
Commit
Browse files Strengthen nested update counter test coverage (#15166)
* Isolate ReactUpdates-test cases This ensures their behavior is consistent when run in isolation, and that they actually test the cases they're describing. * Add coverage for cases where we reset nestedUpdateCounter These cases explicitly verify that we reset the counter in right places. * Add a mutually recursive test case * Add test coverage for useLayoutEffect loop
Changed paths1 file
First-parent comparisonpackages/react-dom/src/__tests__/ReactUpdates-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…