dillon1000/react

Commit

Add tests for findDOMNode on fragment and text

These are new features that aren't covered by existing tests.

It is now possible to use findDOMNode to find a text node.

When a component returns a fragment, it will search to find the
first host component just like element.querySelector does.
Browse files
Changed paths1 file
First-parent comparison
M src/renderers/dom/fiber/__tests__/ReactDOMFiber-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…