I have built a Pomodoro clock in ReactJS, which involves using setInterval (or setTimeout), but when I ran it to follow the sessions/breaks patterns, I
setInterval
setTimeout