dillon1000/react

Commit

Continue over ID-less children in ReactMount.findComponentRoot.

This fixes our perf test by coping with edge cases like the
injection of `<tbody>` between `<table>` and `<tr>` nodes, which occurs
automatically in some browsers when we set `.innerHTML`.

Introducing more search branches would be risky if not for my previous
commit that made `findComponentRoot` breadth-first instead of depth-first.
Browse files
Changed paths2 files
First-parent comparison
M src/core/ReactInstanceHandles.js ModifiedM src/core/__tests__/ReactInstanceHandles-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…