dillon1000/react
Commit
Browse files Rename unitOfWork -> workInProgress
These values represent fibers that are incomplete. In the current model they're mutated in place. In a completely immutable model they would need to be cloned for every step they make progress. I.e. one where the child is still in this WIP state and one when it is complete. To clarify this I'll name them workInProgress while they're in that state, which is also what Jordan did in his prototype.
Changed paths3 files
First-parent comparisonsrc/renderers/shared/fiber/ReactFiberBeginWork.js ModifiedM src/renderers/shared/fiber/ReactFiberCompleteWork.js ModifiedM src/renderers/shared/fiber/ReactFiberReconciler.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…