set delay react native

108

set delay react native -

setTimeout(() => {
this.yourFunction();
}, 3000);

react native settimeout -

setTimeout(() => {this.setState({timePassed: true})}, 1000)

Comments

Submit
0 Comments