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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
feat(nuxt): polyfillrequestIdleCallback andcancelIdleCallback#21863
base:main
Are you sure you want to change the base?
Conversation
🔗 Linked issue
❓ Type of change
📖 Documentation (updates to the documentation, readme or JSdoc annotations)🐞 Bug fix (a non-breaking change that fixes an issue)👌 Enhancement (improving an existing functionality like performance)✨ New feature (a non-breaking change that adds functionality)🧹 Chore (updates to the build process or auxiliary tools and libraries)⚠️ Breaking change (fix or feature that would cause existing functionality to change)
📚 Description
ExposesrequestIdleCallback andcancelIdleCallback from#app.
Safari still does not supportrequestIdleCallback. Nuxt uses internal polyfill, thus forcing user to bundle two polyfills if they wanted to userequestIdleCallback. Why not to allow users to use already bundled polyfill ?
📝 Checklist
- I have linked an issue or discussion.
- I have updated the documentation accordingly.
|
We could conceivably also add them to auto-imports. |
#apprequestIdleCallback andcancelIdleCallbackThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thank you
requestIdleCallback andcancelIdleCallbackrequestIdleCallback andcancelIdleCallback
Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.