Blog.

比 setTimeout(sb, 0) 更短延时

LiuuY

React 源码(在此)在 polyfill requestIdleCallback 的时候使用了 postMessage 来使 idleTick 在下一次 Event Loop 时尽早执行。