-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for requestIdleCallback
#846
Comments
I'm not sure that it's in the scope of |
What is the 'scope' of
Isn't |
"Some cross-platform WHATWG / W3C features" it's not all W3C features. I don't think that The extended support of the web platform features in If you need something like this now, you could try |
Thanks for being a big help. @zloirock I can't help wondering why core-js have this scope boundary. As long as the way we implement it is "pure", the global scope won't be polluted, and the bundle size won't be bloated. What is concerning you? |
In the future when it will be implemented.
Why not? I added a
See this issue. The Minimum Common Web Platform API is just the current priority, after that maybe will be added the rest.
The first issue - I just haven't enough resources, at first - time and money - I already ensure compatibility for most of the popular internet websites (it's a naive detection - you could add some more dozen of percents) alone almost full time for 5$ / hour from donations and I should somehow feed my family. Polyfills should not be naive. Now the correctness of ECMAScript features almost everywhere is not very bad, but I can't say it about web platform features. For example, recently was added a The second issue is size. The size of I hope that in the near future I will describe in detail the current problems and priorities. |
https://w3c.github.io/requestidlecallback/
Looks like this can mostly be done simply by using
setTimeout
code, and seems quite simple to polyfill (if I get the time I'll create a PR).Currently only Safari is missing this entirely.
The text was updated successfully, but these errors were encountered: