How do Re-framers handle components that wants to redraw using a timer, such as an animation or progress bar?
requestAnimationFrame(() => dispatch('TICK', Date.now() - prevTick))
Then you can feed the offset into view functions which forces a re-render and steps the animation.