Tbh, it's pretty ridiculous that most browsers don't have a `process.nextTick()` equivalent. `setImmediate()` was meant to be this, but instead we're all stuck writing `setTimeout(cb, 0)`. We should be better than this. https://caniuse.com/#feat=setimmediate …
-
-
Replying to @yoshuawuyts
to really dive into this weirdness, i'd love to see this post updated with requestAnimationFrame and requestIdleCallback! :D https://jakearchibald.com/2015/tasks-microtasks-queues-and-schedules/ …
1 reply 0 retweets 1 like
Replying to @killercup
Heh, yeah that'd be cool! Also having explicit access to schedule things as microtasks would be amazing. (e.g. this is too much of a hack, haha https://github.com/yoshuawuyts/nanotask …)
6:27 AM - 16 Jan 2018
0 replies
0 retweets
1 like
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.