ReactCSSTransitionGroup如下的几个生命周期函数该如何调用?
componentWillAppear(callback)
componentDidAppear()
componentWillEnter(callback)
componentDidEnter()
componentWillLeave(callback)
componentDidLeave()
在网上找了一圈没发现有详细的关于这几个函数调用的解释,官网只给出了每个函数的定义,然后给的例子简直不能看,跟没给没啥两样。。 我试了一下午也没调用出来, 想问下这几个函数到底怎么调用出来? 跪谢~~