@wSokra is auto-polyfilling something that's been discussed / on the roadmap?
-
-
Replying to @AdamRackis @mikeal and1 reply 0 retweets 3 likes
-
Jesus there really is no excuse at this point
2 replies 0 retweets 0 likes -
Replying to @AdamRackis @wSokra and
FWIW if I'm not mistaken this does not fix the problem of shipping polyfills to browsers that don't need them. If your environment includes IE 11 (which it almost always does when you work on a website rather than a web app), all the polyfills will be shipped to Chrome as well.
1 reply 0 retweets 2 likes -
Replying to @Loilo92 @AdamRackis and
However I don't know if solving this is even the scope of Babel. Some bundler like webpack would still need to get usage data from Babel, compiling a list of needed polyfills and then put them in various groups, basically depending on user agent strings.
1 reply 0 retweets 1 like -
Replying to @Loilo92 @AdamRackis and
That's basically why we're using
@polyfillio. If you're concerned about an outage on their site, you could still self-host the project. To be really performant though, you'd still need to know exactly which polyfills you need etc etc. It's really exhausting work.1 reply 0 retweets 1 like -
You're right, of course. But it's also worth pointing out that even without webpack, Babel, etc, this problem is solved pretty easily with a tiny bit of code and effort, plus any generic, off-the-shelf script loader.pic.twitter.com/E7VZGRc6DW
1 reply 0 retweets 0 likes -
Replying to @AdamRackis @Loilo92 and
The "it's so easy!" view is falsified by near-total global failure. It's not working. JS is not working.
3 replies 0 retweets 0 likes -
Replying to @slightlylate
Can you elaborate a little more on "total global failure" and "JS is not working"? Is it JS, or is it the DOM?
1 reply 0 retweets 0 likes -
Replying to @timkevinoxley @secoif
The approach that says "I have a problem, NPM will solve it!" is failing everyone; users, businesses, and developers
1 reply 0 retweets 1 like
It's enabled by a lack of tools that tell you when it isn't working and why, for which I take my share of the blame. @googlechrome & @ChromiumDev need to do better.
-
-
Replying to @slightlylate
I agree there are issues though the connection between Chrome, npm and "total failure" is still a bit vague to me. Is there a tech stack or set of tooling doing something comparable to web tech while setting a good example?
0 replies 0 retweets 0 likesThanks. 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.