Définir REACT REACT natif
setTimeout(() => {
this.yourFunction();
}, 3000);
Upset Unicorn
setTimeout(() => {
this.yourFunction();
}, 3000);
setTimeout(() => {this.setState({timePassed: true})}, 1000)