Re: The need to re-subscribe to requestAnimationFrame

On 3/2/13 6:45 AM, Lars Knudsen wrote:
> Imagine that you have a callback that does a lot of heavy rendering and
> the rAF returns AGAIN while "// do stuff".

Can't happen, unless the callback calls showModalDialog or something 
else that spins the event loop.

-Boris

P.S. Note that you can make your followup requestAnimationFrame call at 
the very beginning of the callback function and it will work fine too.

Received on Saturday, 2 March 2013 14:13:06 UTC