when i use setInterval or setTimeOut my app dont run and cant get build ? how i can solve this problem.
startAutoIncrement()
this.intervalId = setInterval(() => {
this.increment();`your text`
}, 1000);
when i use setInterval or setTimeOut my app dont run and cant get build ? how i can solve this problem.
startAutoIncrement()
this.intervalId = setInterval(() => {
this.increment();`your text`
}, 1000);
Copyright © 2021 Jogjafile Inc.
When you use
setIntervalyou app stay in an unstable state.When you use SSR, the generated HTML is only sent to the client once the app become stable for the first time.