dillon1000/react

Commit

Handle Bailed Out HostText update and MultiChildText test (#8371)

This handles the case where a host text bails out. In that case we need to
reuse its previous memoizedProps. We should also only schedule an actual
update if it did actually change its text content.

I updated the unit test to ignore comment nodes if we're using Fiber.
Browse files
Changed paths2 files
First-parent comparison
M src/renderers/shared/fiber/ReactFiberCompleteWork.js ModifiedM src/renderers/shared/shared/__tests__/ReactMultiChildText-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…