dillon1000/react
Commit
Browse files [Fiber] Make requestIdleCallback() and requestAnimationFrame() shims async (#8591)
* Add a failing test for recursion check * Make requestIdleCallback() and requestAnimationFrame() shims async They no longer need to be sync in tests because we already made DOM renderer sync by default. This fixes a crash when testing incrementalness in DOM renderer itself. * Style fix * Fix lint
Changed paths3 files
First-parent comparisonscripts/fiber/tests-passing.txt ModifiedM scripts/jest/environment.js ModifiedM src/renderers/dom/fiber/__tests__/ReactDOMFiber-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…