dillon1000/react

Commit

Quick fix to the return top level problem

This doesn't deal with the fact that work is usually deferred
so this will return null for first render (except in sync tests).
It also doesn't deal with top levels being fragments etc.
It doesn't deal with the host instance type being a wrapper
around the public instance. This needs to be unified with refs
and findDOMNode better.

However, this does expose that we reactComponentExpect and
ReactTestUtils doesn't work very well with Fiber.
Browse files
Changed paths2 files
First-parent comparison
M src/renderers/dom/fiber/ReactDOMFiber.js ModifiedM src/renderers/shared/fiber/ReactFiberReconciler.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…