When do you use setimmediate vs nexttick?
-
-
-
setImmediate === run at start of next frame - with requestIdleCallback() there's less need for nextTick() I think
End of conversation
New conversation -
-
-
Is the biggest JS hack something like what setImmediate.js is doing?
-
Haha, I've looked at multiple implementations and most of them end up doing setTimeout. Or something like https://github.com/yoshuawuyts/nanotask … which is

- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.