Apa tujuan fungsi callback sebagai argumen setState ()
this.setState({
name:'value'
},() => {
console.log(this.state.name);
});
Uninterested Unicorn
this.setState({
name:'value'
},() => {
console.log(this.state.name);
});