jQuery and ReactJS ONLY animations
问题 I ONLY need to use jQuery animations, please do not mention the transitions. This is my code base var CommentForm = React.createClass({ componentWillUnmount: function(cb) { console.log('hiding') jQuery(this.getDOMNode()).slideUp('slow', cb); console.log((this.getDOMNode())) }, componentDidMount: function() { jQuery(this.getDOMNode()).hide().slideDown('slow'); if (this.props.autofocus) { jQuery(this.refs.commentArea.getDOMNode()).focus(); } }, render: function() { return ( <div> <div className