News for hackers. Stuff that matters.
Re:The new Microsoft Edge is out of preview by xp84 on Saturday January 18, 2020 @12:45AM (#22082591)
Just out of curiosity, why not use a conditional polyfill using nomodule rather than outright breaking on something like IE11? Because we use nomodule, the script tag will be ignored by modern browsers, while IE will fetch the polyfill. polyfill.io serves this request, and we have it include all the polyfills we require (for our use case, we just request the default plus es2015-16-17-18, plus fetch).

The beauty of the approach is that the big pollyfill payloads are only borne by the users who choose (or likely are forced by employers) to use those browser versions.

There are no comments on this comment yet.