@jlarky @davatron5000 true. I think the distinction I was aiming to make was that it’s a nicer way to apply behavior conditionally. Perhaps another version of the pattern could instead conditionally import/fetch the script in the first place. But anyway, I meant to compare this to how prior polyfills I’ve built (eg Picturefill) apply their behavior conditionally.
=> More informations about this toot | View the thread | More toots from scottjehl@mstdn.social
=> View jlarky@fosstodon.org profile | View davatron5000@mastodon.social profile
text/gemini
This content has been proxied by September (ba2dc).