News for hackers. Stuff that matters.
Re:React on ES6+ by deanclatworthy on Wednesday July 08, 2015 @04:14AM (#9850400)
Looks to be a nice improvement. The only thing that really bothers me is if they deprecate componentDidMount. I think it's a lot more verbose than using the constructor method, especially given the corresponding componentDidUnmount method still exists. Is there a destructor syntax for ES6?
Re:React on ES6+ by rymohr on Wednesday July 08, 2015 @04:34AM (#9850462)
The constructor takes the place of componentWillMount. I believe componentDidMount is still used.
Re:React on ES6+ by vingiesel on Wednesday July 08, 2015 @10:13AM (#9851615)
Looks like getInitialState is absorbed by the constructor as well.
Re:React on ES6+ by clessg on Wednesday July 08, 2015 @04:41AM (#9850487)
Was about to panic - what did sebmarkbage blow up this time?