dillon1000/react
Commit
Browse files Reset effect list when we recompute children
We only use the effect list when we reuse our progressed children. Otherwise it needs to reset to null. In all other branches, other than bailoutOnLowPriority, we revisit the children which recreates this list. We should also not add fibers to their own effect list since it becomes difficult to perform work on self without touching the children too. Nothing else does that neither. Since that means that the root isn't added to an effect list we need to special case the root.
Changed paths3 files
First-parent comparisonsrc/renderers/shared/fiber/ReactFiber.js ModifiedM src/renderers/shared/fiber/ReactFiberBeginWork.js ModifiedM src/renderers/shared/fiber/ReactFiberScheduler.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…