I am working on pomodoro project. I am using setinterval to call the animating function with 1000 interval.
I want to know how is this approach reliable?
My major concern is - will it work properly in inactive tab?
Currently I tested in firefox and chrome- all works fine.
But what about others?
PS. Before that I was playing with settimeout with less than 1000ms(say with value 10). On inactive tabs interval was changing to 1000 and I didn’t expect that.