Skip to content

Comments

Remove raf polyfill#44

Open
nachogarcia wants to merge 1 commit intodalphyx:masterfrom
nachogarcia:requestAnimationFrame-without-polyfill
Open

Remove raf polyfill#44
nachogarcia wants to merge 1 commit intodalphyx:masterfrom
nachogarcia:requestAnimationFrame-without-polyfill

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