Por fin me he quitado de encima un potencial problema que me traía de cabeza. El tema de una aplicación crítica ahora se visualiza decentemente y es operativo en el #Webview que usa Microsoft en sus aplicaciones.

La solución es algo enrevesada: incluye un pipeline complejo con #gulp y #webpack usando #SASS, #PostCSS, transpilación de módulos JavaScript, un par de #polyfills, un #ponyfill, una pizca de magia arcana y varios artificios quirúrgicos. Dista de ser perfecta pero por lo menos es funcional.

A polyfill for the HTML switch element

The personal blog of Thomas Steiner

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?
Learn to build polyfills for JavaScript array methods flat, map, filter, and reduce, enhancing your skills and interview confidence https://hackernoon.com/polyfill-this-flat-map-filter-and-reduce-the-hard-way #polyfills
Polyfill This! Flat, Map, Filter & Reduce — The Hard Way | HackerNoon

Learn to build polyfills for JavaScript array methods flat, map, filter, and reduce, enhancing your skills and interview confidence

Updates to Popover and CSS Anchor Positioning Polyfills

hint popovers, position-area and more

OddBird
Polyfilling CSS with CSS Parser Extensions

In April I attended #BlinkOn, the conference for web platform contributors in the Chromium open source project. At the conference I gave a presentation about “CSS Parser Extensions”, a wild idea I have to fix CSS polyfilling once and for all. If you didn’t know, polyfilling CSS features is extremely hard, mainly because the CSS Parser discards what it does not understand. So what if, instead of having authors write their own parser and cascade to polyfill a CSS feature, they could teach the parser some new tricks?

Bram.us
How to think about Baseline and polyfills  |  Articles  |  web.dev

Knowing when to reach for a polyfill can be a hard decision, but using Baseline features can help you answer this question. Learn more in this guide!

web.dev

#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

How to think about Baseline and polyfills  |  Articles  |  web.dev

Knowing when to reach for a polyfill can be a hard decision, but using Baseline features can help you answer this question. Learn more in this guide!

web.dev

#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

How to Use Baseline Data | 12 Days of Web

Learn about using Baseline with fallback strategies and how Baseline can help you decide about polyfills.

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

#WebExtension #WebExtensionAPI #polyfill #polyfills

Chromium