componentWillMount

Mounting: componentWillMount

void componentWillMount()

Invoked once, both on the client and server, immediately before the initial rendering occurs. If you call setState within this method, render() will see the updated state and will be executed only once despite the state change.

doc_React
2016-06-23 03:31:47
Comments
Leave a Comment

Please login to continue.