dillon1000/react
Commit
Browse files Attack of the Clones!
This fixes some bugs with the clones and traversing backwards through them. It is important that we maintain the correct parent at all times and that clones have the correct values. We need to carefully clone everything on the way up to the the fiber with the next work to do. This code is a bit messy and fragile now. I'm sure I didn't get it all right but I want to get the basics in place first. Then we can structure this part better. I think the general algorithm is sound though.
Changed paths5 files
First-parent comparisonsrc/renderers/shared/fiber/ReactChildFiber.js ModifiedM src/renderers/shared/fiber/ReactFiber.js ModifiedM src/renderers/shared/fiber/ReactFiberBeginWork.js ModifiedM src/renderers/shared/fiber/ReactFiberScheduler.js ModifiedM src/renderers/shared/fiber/__tests__/ReactIncremental-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…