Skip to content

Commit 7e363fe

Browse files
committed
Not using findDOMNode on native element.
1 parent 0c40e3d commit 7e363fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ReactCSSTransitionReplace.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export default class ReactCSSTransitionReplace extends React.Component {
9393
}
9494

9595
componentDidUpdate() {
96-
const nextChild = ReactDOM.findDOMNode(this.refs.nextChild);
96+
const nextChild = this.refs.nextChild;
9797

9898
// If there is a next child we'll be animating it in soon, so change to its height.
9999
if (nextChild && nextChild.offsetHeight !== this.state.height) {

0 commit comments

Comments
 (0)