dillon1000/react
Commit
Browse files 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.
Changed paths2 files
First-parent comparisonsrc/renderers/shared/fiber/ReactFiberCompleteWork.js ModifiedM src/renderers/shared/shared/__tests__/ReactMultiChildText-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…