Fun game: write down how many copies of a Promise polyfill you *think* your site sends to Chrome/Firefox/Safari users...now go read your JS output. How many were you off by?
-
-
Replying to @slightlylate
I'd be curious to hear your thoughts on http://polyfill.io . Personally I'd love for Google to offer such an API. Seems you could even determine at build time what language features are used to generate the list of items you'd need to request from the API.
1 reply 0 retweets 6 likes -
Replying to @HenrikJoreteg
I love that the
@FT runs http://Polyfill.io because it means Google won't leave it in a largely-unmaintained (then suddenly killed) state. It's an outstanding tool that I frequently recommend. Hats off to the folks who built it, including@triblondon1 reply 2 retweets 10 likes -
Agreed. The only reason I mention Google is that certain, unnamed, ridiculously large retailers who I may be be working are less likely to want to depend on a service offered by FT instead of a Google Cloud API w/ an SLA. Personally, I'm very happy w/ the FT version.
3 replies 0 retweets 3 likes -
I see! Interesting to contemplate. Would said retailers pay for such a service?
1 reply 0 retweets 1 like -
I cannot speak for them, but... I would certainly expect so.
1 reply 0 retweets 1 like -
Replying to @HenrikJoreteg @slightlylate and
Truth is, I think many would. This is a universal problem I see when consulting with large companies. You either include everything you'd need for lowest common denominator browser or you invent your own feature detection/polyfill approach.
2 replies 0 retweets 3 likes -
Replying to @HenrikJoreteg @slightlylate and
If they could throw some money at it and make the problem go away, that seems like a no-brainer.
1 reply 0 retweets 0 likes
My experience is that they can't. They money they just threw at the problem (The Inevitable React Rewrite!) just saddled them with several layers of Babel/WebPack/CDN-config that they don't really undertstand. Excising the polyfills is now a 1+ quarter effort.
-
-
Well, I can at least say the effort is underway. I'm not saying it will be quick :) First step is to whittle it down to one set of polyfills instead of multiple polyfills, utils libs, etc.
0 replies 0 retweets 1 likeThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.