home.social

#polyfills — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #polyfills, aggregated by home.social.

fetched live
  1. This is mostly a question into the void, because I don't know how that's done in the real world.
    When people are talking about #polyfills, in the context of #webdev, one argument that always pops up, is that they increase bundle size.
    My thought: isn't it possible to dynamically load #javascript when a missing feature is detected in a browser? Does this incur a latency penalty that makes this unfeasible? Or is this actually a valid option?

  2. Learn to build polyfills for JavaScript array methods flat, map, filter, and reduce, enhancing your skills and interview confidence hackernoon.com/polyfill-this-f #polyfills

  3. 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.

    issues.chromium.org/issues/405

    Meanwhile, TIL how to build a cross-browser extension: developer.mozilla.org/en-US/do

    #WebExtension #WebExtensionAPI #polyfill #polyfills

  4. 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?

    #webDev #javaScript #web

  5. Ça parle a quelqu'un cette erreur sur #Firefox quand il charge #Twitter ?

    C'est étrange ça me le faisait pas hier par exemple.

    "twitter.com/?failedScript=polyfills"

    #polyfills