dillon1000/react
Commit
Browse files Fix: Passive effect updates are never sync (#21215)
I screwed this up in #21082. Got confused by the < versus > thing again. The helper functions are annoying, too, because I always forget the intended order of the arguments. But they're still helpful because when we refactor the type we only have the change the logic in one place. Added a regression test.
Changed paths5 files
First-parent comparisonpackages/react-reconciler/src/ReactEventPriorities.new.js ModifiedM packages/react-reconciler/src/ReactEventPriorities.old.js ModifiedM packages/react-reconciler/src/ReactFiberWorkLoop.new.js ModifiedM packages/react-reconciler/src/ReactFiberWorkLoop.old.js ModifiedA packages/react-reconciler/src/__tests__/ReactUpdatePriority-test.js AddedPatch
Files changed
Rendering syntax-highlighted changes…