Updates to Popover and CSS Anchor Positioning Polyfills, by @jamessw (@OddBird):
Updates to Popover and CSS Anchor Positioning Polyfills, by @jamessw (@OddBird):
Polyfilling CSS With CSS Parser Extensions, by @bramus:
How to Think About Baseline and Polyfills, by @malchata (@developers):
#Development #Guidelines
Baseline and polyfills · When should you use a polyfill for a web feature? https://ilo.im/162wl8
_____
#Baseline #Polyfills #Browser #Interoperability #WebDev #Frontend #Backend #HTML #CSS #JavaScript
#Development #Guides
Baseline with fallback strategies · How to decide on polyfills and progressive enhancement https://ilo.im/161j7k
_____
#Baseline #BrowserSupport #Polyfills #ProgressiveEnhancement #Browser #WebDev #Frontend #HTML #CSS #JavaScript
Still have to rely on webextension-polyfill, but, hopefully, it's not long until #Chrome will expose Extension APIs under browser.* namespace, just like #Firefox.
https://issues.chromium.org/issues/40556351
Meanwhile, TIL how to build a cross-browser extension: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Build_a_cross_browser_extension
Y'all remember #PolyfillIO?
I realize the lesson there is; don't depend on code from domains you don't control, and in an ideal world that's what you should do
But is there still a need there? Are there #webPlatform features you'd like to use but you don't want to introduce a build process just to bundle the #polyfill from #NPM?
Or is there no point in #polyfills since #browsers don't share caches between origins these days so there's no precaching benefit anymore?
Speeding up the #JavaScript ecosystem - #Polyfills gone rogue
https://marvinh.dev/blog/speeding-up-javascript-ecosystem-part-6/
#Development #Explorations
Speeding up the JavaScript ecosystem: Polyfills gone rogue · You wanted a banana and got a jungle https://ilo.im/1599o9
_____
#WebDev #Polyfills #Npm #Dependencies #Eslint #Frontend #JavaScript
🌗 加速JavaScript生態系統-失控的Polyfills
➤ 為什麼node_modules文件夾如此龐大?
✤ https://marvinh.dev/blog/speeding-up-javascript-ecosystem-part-6/
許多流行的npm包依賴於比它們需要的多6-8倍的包,其中大部分是不必要的polyfills,這是node_modules文件夾如此龐大的主要原因之一。 eslint生態系統似乎受到影響最大。本文探討了這個問題的起源,並提供了一些解決方案。
+ 這是一個非常有用的文章,讓我更好地瞭解了npm包和polyfills之間的關係。
+ 我從未想過polyfills可能會導致這麼多的依賴問題。這篇文章提供了一些很好的解決方案。
#JavaScript #npm #polyfills