dillon1000/react
Commit
Browse files 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.
Changed paths1 file
First-parent comparisonsrc/renderers/dom/fiber/__tests__/ReactDOMFiber-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…