dotnet-websharper / core

WebSharper - Full-stack, functional, reactive web apps and microservices in F# and C#
https://websharper.com
Apache License 2.0
595 stars 50 forks source link

Remove the `requestAnimationFrame` polyfill #1362

Closed granicz closed 10 months ago

granicz commented 10 months ago

All modern browsers support requestAnimationFrame today, so there is no need to polyfill it - I propose to remove it.

This means:

0) Removing the polyfill itself (WebSharper.Main/AnimFrame.js) 1) Removing the resource type for it 2) Removing the dependency declaration for JS.RequestAnimationFrame