dillon1000/react

Commit

Fast path for create child

When we don't have any previous fibers we can short cut this path
knowing that we will never have any previous child to compare to.

This also ensures that we don't create an empty Map in this case.
Browse files
Changed paths1 file
First-parent comparison
M src/renderers/shared/fiber/ReactChildFiber.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…