3 ms·
FWIW, the React team _just_ published a new package called `schedule` this evening, which acts as a polyfill for `requestIdleCallback` and adds a bunch of addit
by acemarke 8y ago
FWIW, the React team _just_ published a new package called `schedule` this evening, which acts as a polyfill for `requestIdleCallback` and adds a bunch of additional scheduling capabilities. It's intended to be used with React and its upcoming async rendering capabilities, but appears to be sufficiently standalone to be reused.
- Package: https://www.npmjs.com/package/schedule https://www.npmjs.com/package/schedule
- Source: https://github.com/facebook/react/tree/master/packages/schedule https://github.com/facebook/react/tree/master/packages/sched...