dillon1000/react

Commit

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.
Browse files
Changed paths1 file
First-parent comparison
M src/renderers/dom/client/__tests__/findDOMNode-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…