React Fonction appelée Last State
this.setState({
someState: obj
}, () => {
this.afterSetStateFinished();
});
DevPedrada
this.setState({
someState: obj
}, () => {
this.afterSetStateFinished();
});