dillon1000/react
Commit
Browse files Separate priority for updates
When resetting the priority in the complete phase, check the priority of the update queue so that updates aren't dropped. Updates inside render, child cWRP, etc are no longer dropped. The next step is sort the queue by priority and only flush updates that match the current priority level.
Changed paths8 files
First-parent comparisonscripts/fiber/tests-failing.txt ModifiedM scripts/fiber/tests-passing-except-dev.txt ModifiedM scripts/fiber/tests-passing.txt ModifiedM src/renderers/shared/fiber/ReactFiberBeginWork.js ModifiedM src/renderers/shared/fiber/ReactFiberClassComponent.js ModifiedM src/renderers/shared/fiber/ReactFiberReconciler.js ModifiedM src/renderers/shared/fiber/ReactFiberScheduler.js ModifiedM src/renderers/shared/fiber/ReactFiberUpdateQueue.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…