dillon1000/react
Commit
Browse files Test to verify findDOMNode does not throw in willMount
Adds a test to prevent a regression of throwing an error when calling `findDOMNode(this)` in a component's `componentWillMount` function. This previously used to throw an invariant violation but now does not any more.
Changed paths1 file
First-parent comparisonsrc/renderers/dom/client/__tests__/findDOMNode-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…