dillon1000/react
Commit
Browse files Make sure element is reported correctly by tree devtool
This adds some tests for getElement() and verifies that it works for text components too. The code that calls the instrumentation is fixed where necessary so that the tests pass.
Changed paths5 files
First-parent comparisonsrc/isomorphic/devtools/__tests__/ReactComponentTreeDevtool-test.js ModifiedM src/isomorphic/devtools/__tests__/ReactComponentTreeDevtool-test.native.js ModifiedM src/renderers/dom/shared/ReactDOMComponent.js ModifiedM src/renderers/shared/stack/reconciler/ReactReconciler.js ModifiedM src/test/ReactComponentTreeTestUtils.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…