set delay react native

105

set delay react native -

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

react native settimeout -

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

Comments

Submit
0 Comments