dillon1000/react
Commit
Browse files Implement the same search strategy in ReactTestUtils as findDOMNode
This was supposed to fix an issue in refs-test but instead it revealed that this strategy is broken. The problem is that Placement effect is not sufficient when the insertion is completed since the effect flag is reset then and the previous tree has no effects in it to indicate that this is the wrong tree.
Changed paths3 files
First-parent comparisonscripts/fiber/tests-failing.txt ModifiedM scripts/fiber/tests-passing.txt ModifiedM src/test/ReactTestUtils.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…