https://developers.google.com/web/updates/2015/08/27/using-requestidlecallback
Chrome has added this new perf-related feature to Canary (see the article above). Thanks for your consideration!
+1
+1
+1
Editor's draft: https://w3c.github.io/requestidlecallback/
+1
+1
+1
Shim (not a polyfill) available here: https://gist.github.com/paullewis/55efe5d6f05434a96c36
:+1:
:+1:
+1
Added to Chrome 47:
https://youtu.be/0O0QwqSf6nA?list=PLNYkxOF6rcIDfz8XEA3loxY32tYh7CI3m&t=116
Another shim/polyfill:
https://github.com/aFarkas/requestIdleCallback
@Fyrd Would it be better if suggestions like this would be submitted as a PR, or do you prefer to green-flag them first?
+1
+1
+1
+1
(I'd say this might be a quite underestimated feature, if used correctly)
馃憤
+1
Firefox is adding this https://github.com/mozilla/platform-status/blob/master/features/request-idle-callback.md
+1
Now available at http://caniuse.com/#feat=requestidlecallback
Most helpful comment
Now available at http://caniuse.com/#feat=requestidlecallback