3 ms·
It doesn't create an ever-growing stack. tick calls requestAnimationFrame, tick returns, the browser waits for the next frame and calls tick...
by zerocrates 12y ago
It doesn't create an ever-growing stack.
tick calls requestAnimationFrame, tick returns, the browser waits for the next frame and calls tick...