Thursday, 20 September 2018

set state after setState is finished updating?

this.setState({
    someState: obj
}, () => {
    this.afterSetStateFinished();
});

No comments:

Post a Comment