Skip to content
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

Remove raf polyfill #44

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Remove raf polyfill #44

wants to merge 1 commit into from

Conversation

nachogarcia
Copy link

RequestAnimationFrame has already widespread support.

It negatively affects the performance for most browsers so probably it would be better if only people targeting legacy browsers provided a polyfill.

@Kunwark
Copy link

Kunwark commented Feb 10, 2024

@dalphyx I think this one should get in. Because of Raf the package has stopped working in vue3. I just installed headroom and I am getting this error:

main.js:12 [Vue Router warn]: Unexpected error when starting the router: SyntaxError: The requested module '/node_modules/raf/index.js?v=a2eac52b' does not provide an export named 'default' (at headroom.vue:2:8)

@caro3801 caro3801 mentioned this pull request Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants