# polyfill

A polyfill is code that simulates a native web-platform feature so websites can use it in browsers that lack native support.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Async Commands Fallback Layer

DevFeed: [Async Commands Fallback Layer](<https://devfeed.tech/articles/async-commands-fallback-layer-106088.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/directx/async-commands-fallback-layer/>)

Author: Tanner Van De Walle

Published: 2026-10-28T16:52:19Z

Content type: release

Language: en

Sources: [DirectX Developer Blog](<https://devfeed.tech/sources/directx-developer-blog.md>)

Topics: [microsoft-agility-sdk](<https://devfeed.tech/topics/microsoft-agility-sdk.md>), [polyfill](<https://devfeed.tech/topics/polyfill.md>)

Tags: [agility-sdk](<https://devfeed.tech/tags/agility-sdk.md>), [async](<https://devfeed.tech/tags/async.md>), [commands](<https://devfeed.tech/tags/commands.md>), [developers](<https://devfeed.tech/tags/developers.md>), [directx](<https://devfeed.tech/tags/directx.md>), [fallback](<https://devfeed.tech/tags/fallback.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [layer](<https://devfeed.tech/tags/layer.md>), [nuget](<https://devfeed.tech/tags/nuget.md>)

### AI overview

Agility SDK 1.620.1 adds an opt-in fallback for Batched Async Commands, allowing one code path to use native commands where supported and runtime-emulated legacy operations elsewhere. Native batching can overlap independent work; fallback operations generally cannot, and enabling the layer adds CPU tracking overhead even on command lists that do not use the commands. Enhanced Barriers are required, and some calls or resource and render-pass combinations fail on fallback devices. Results can also differ for bound-clear queries and some clear values. The text recommends forcing the fallback with d3dconfig to check behavior and performance on target workloads; its microbenchmarks show ClearTextureSubresources can cost more when it needs a staging-buffer copy, and bound clears add recording time.

### Source excerpt

We're pleased to announce that Agility SDK 1.620.1 includes a fallback layer for Batched Async Commands, letting developers use the new commands on hardware that doesn't support them natively. You can find the NuGet package here. Background Batched Async Commands were introduced in the Agility SDK 1.720 Preview as a new set of copy, fill, [...] The post Async Commands Fallback Layer appeared first on DirectX Developer Blog.

## W3C launches second pilot of program to support Open Source projects

DevFeed: [W3C launches second pilot of program to support Open Source projects](<https://devfeed.tech/articles/w3c-launches-second-pilot-of-program-to-support-open-source-projects-103466.md>)

Original publisher: [Read original article](<https://www.w3.org/blog/2026/w3c-launches-second-pilot-of-program-to-support-open-source-projects/>)

Author: Ian Jacobs, Strategy Team

Published: 2026-10-27T11:50:00Z

Content type: news

Language: en

Sources: [W3C](<https://devfeed.tech/sources/w3c-blog.md>)

Topics: [W3C](<https://devfeed.tech/topics/w3c.md>), [polyfill](<https://devfeed.tech/topics/polyfill.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [open source maintenance](<https://devfeed.tech/topics/open-source-maintenance.md>)

Tags: [agentic](<https://devfeed.tech/tags/agentic.md>), [agents](<https://devfeed.tech/tags/agents.md>), [assistive-technologies](<https://devfeed.tech/tags/assistive-technologies.md>), [blogs](<https://devfeed.tech/tags/blogs.md>), [community](<https://devfeed.tech/tags/community.md>), [coverage](<https://devfeed.tech/tags/coverage.md>), [declarative](<https://devfeed.tech/tags/declarative.md>), [developers](<https://devfeed.tech/tags/developers.md>), [early-stage](<https://devfeed.tech/tags/early-stage.md>), [events](<https://devfeed.tech/tags/events.md>), [experiment](<https://devfeed.tech/tags/experiment.md>), [feedback](<https://devfeed.tech/tags/feedback.md>), [governance](<https://devfeed.tech/tags/governance.md>), [interoperability](<https://devfeed.tech/tags/interoperability.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [lifecycle](<https://devfeed.tech/tags/lifecycle.md>), [npm](<https://devfeed.tech/tags/npm.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [pilot](<https://devfeed.tech/tags/pilot.md>), [polyfill](<https://devfeed.tech/tags/polyfill.md>), [w3c](<https://devfeed.tech/tags/w3c.md>), [webmcp](<https://devfeed.tech/tags/webmcp.md>)

### AI overview

W3C's second Open Source Program pilot is a polyfill for the incubating WebMCP API, intended to improve interoperability and let developers experiment while the specification evolves. WebMCP lets developers expose application functionality as JavaScript tools with natural-language descriptions and structured schemas for agents, browser agents, and assistive technologies. Initial goals are to publish the polyfill as an npm package, advance lifecycle events and declarative support, track specification changes, and maintain Web Platform Tests coverage. If WebMCP moves into standardization and native implementations provide interoperable support, the polyfill would be phased out. W3C also launched a Community Group to guide the program's growth and governance; participation is open without W3C Membership.

### Source excerpt

In this blog post, Ian Jacobs, Strategy Team, introduces the second pilot of the W3C Open Source program: a polyfill for the WebMCP API. WebMCP is a new JavaScript interface that allows web developers to expose their web application functionality as "tools".

## Introducing css-typed-om, a complete and WPT-tested polyfill for CSS Typed OM

DevFeed: [Introducing css-typed-om, a complete and WPT-tested polyfill for CSS Typed OM](<https://devfeed.tech/articles/introducing-css-typed-om-a-complete-and-wpt-tested-polyfill-for-css-typed-om-85917.md>)

Original publisher: [Read original article](<https://www.bram.us/2026/10/13/introducing-css-typed-om-a-complete-and-wpt-tested-polyfill-for-css-typed-om/>)

Author: Bramus!

Published: 2026-10-13T08:51:47Z

Content type: release

Language: en

Sources: [Bram.us](<https://devfeed.tech/sources/bram-us.md>)

Topics: [polyfill](<https://devfeed.tech/topics/polyfill.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [CSS](<https://devfeed.tech/topics/css.md>)

Tags: [css](<https://devfeed.tech/tags/css.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [original-content](<https://devfeed.tech/tags/original-content.md>), [polyfill](<https://devfeed.tech/tags/polyfill.md>), [typed-om](<https://devfeed.tech/tags/typed-om.md>)

### AI overview

The article introduces css-typed-om, a standalone JavaScript polyfill for CSS Typed OM, and explains its installation, usage, and testing against the Web Platform Tests. It reports that the polyfill passes 12,479 of 13,134 WPT subtests, with remaining failures attributed to browser support limits and values that a userland polyfill cannot recover.

### Source excerpt

Being a big fan of the CSS Typed OM, I've wanted a proper polyfill for it for years. Just before my summer vacation back in July, with the help of Gemini/Antigravity, I finally built one: css-typed-om.

## How Baseline Can Help You Ship Less JavaScript

DevFeed: [How Baseline Can Help You Ship Less JavaScript](<https://devfeed.tech/articles/how-baseline-can-help-you-ship-less-javascript-4324.md>)

Original publisher: [Read original article](<https://smashingmagazine.com/2026/08/how-baseline-can-help-ship-less-javascript/>)

Author: hello@smashingmagazine.com (Jad Joubran)

Published: 2026-08-07T13:00:00Z

Content type: tutorial

Language: en

Sources: [Smashing Magazine](<https://devfeed.tech/sources/articles-on-smashing-magazine-for-web-designers-and-developers.md>)

Topics: [Front end](<https://devfeed.tech/topics/frontend.md>), [Library](<https://devfeed.tech/topics/library.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [Internationalization (i18n)](<https://devfeed.tech/topics/i18n.md>), [polyfill](<https://devfeed.tech/topics/polyfill.md>), [npm](<https://devfeed.tech/topics/npm.md>)

Tags: [accessibility](<https://devfeed.tech/tags/accessibility.md>), [accessible](<https://devfeed.tech/tags/accessible.md>), [anchor-positioning](<https://devfeed.tech/tags/anchor-positioning.md>), [api](<https://devfeed.tech/tags/api.md>), [apis](<https://devfeed.tech/tags/apis.md>), [array](<https://devfeed.tech/tags/array.md>), [audit](<https://devfeed.tech/tags/audit.md>), [axios](<https://devfeed.tech/tags/axios.md>), [bigint](<https://devfeed.tech/tags/bigint.md>), [browser](<https://devfeed.tech/tags/browser.md>), [browsers](<https://devfeed.tech/tags/browsers.md>), [cancellation](<https://devfeed.tech/tags/cancellation.md>), [case-study](<https://devfeed.tech/tags/case-study.md>), [coding](<https://devfeed.tech/tags/coding.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [has](<https://devfeed.tech/tags/has.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [library](<https://devfeed.tech/tags/library.md>), [techniques](<https://devfeed.tech/tags/techniques.md>), [web-platform](<https://devfeed.tech/tags/web-platform.md>)

### AI overview

A quarterly Baseline audit can identify dependencies the browser now handles, but replacements should be judged against audience support, bundle cost, and the library's actual features. The article estimates 60-90 KB gzipped of potential savings in a typical mid-sized app. It highlights widely available Intl APIs, fetch for simpler HTTP use, and <dialog> plus CSS for some UI utilities; newer APIs such as DurationFormat, Popover, anchor positioning, Object.groupBy, and Set methods may need audience checks or fallbacks. Temporal is a counterexample: Safari lacks stable support, and its polyfill can outweigh a small date library. The suggested process is to list production dependencies, measure actual bundle impact, check replacement Baseline status, review usage, and progressively enhance where needed.

### Source excerpt

The gap between "you need a library for this" and "the browser does this" keeps closing. A practical guide to auditing your dependencies and finding what the web platform can now handle for you.

## Web Weekly #187 (#blogPost)

DevFeed: [Web Weekly #187 (#blogPost)](<https://devfeed.tech/articles/web-weekly-187-blogpost-45422.md>)

Original publisher: [Read original article](<https://www.stefanjudis.com/blog/web-weekly-187/>)

Published: 2026-03-16T23:00:00Z

Content type: article

Language: en

Sources: [Stefan Judis Web Development](<https://devfeed.tech/sources/stefan-judis-web-development.md>)

Topics: [Web Development](<https://devfeed.tech/topics/web-development.md>), [CSS](<https://devfeed.tech/topics/css.md>), [Google Chrome](<https://devfeed.tech/topics/google-chrome.md>), [polyfill](<https://devfeed.tech/topics/polyfill.md>), [view transitions](<https://devfeed.tech/topics/view-transitions.md>), [Web Components](<https://devfeed.tech/topics/web-components.md>), [Web Accessibility (a11y)](<https://devfeed.tech/topics/web-accessibility.md>), [aria](<https://devfeed.tech/topics/aria.md>)

Tags: [accessible](<https://devfeed.tech/tags/accessible.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-slop](<https://devfeed.tech/tags/ai-slop.md>), [aliases](<https://devfeed.tech/tags/aliases.md>), [anchor-positioning](<https://devfeed.tech/tags/anchor-positioning.md>), [blogpost](<https://devfeed.tech/tags/blogpost.md>), [browsers](<https://devfeed.tech/tags/browsers.md>), [chrome](<https://devfeed.tech/tags/chrome.md>), [code](<https://devfeed.tech/tags/code.md>), [color](<https://devfeed.tech/tags/color.md>), [colors](<https://devfeed.tech/tags/colors.md>), [css](<https://devfeed.tech/tags/css.md>), [custom-elements](<https://devfeed.tech/tags/custom-elements.md>), [elements](<https://devfeed.tech/tags/elements.md>), [function](<https://devfeed.tech/tags/function.md>), [github](<https://devfeed.tech/tags/github.md>), [github-sponsors](<https://devfeed.tech/tags/github-sponsors.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [newsletter](<https://devfeed.tech/tags/newsletter.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [web](<https://devfeed.tech/tags/web.md>), [weekly](<https://devfeed.tech/tags/weekly.md>)

### AI overview

Web Weekly #187 highlights emerging web platform features and their limitations. The newsletter says `contrast-color()` is planned across browsers with Chrome 147 but currently returns only black or white; Una describes a workaround. Chromium's experimental `focusgroup` attribute aims to simplify custom focus handling and set ARIA roles automatically, though the author notes skepticism and invites feedback. Other items cover form-associated custom elements and `attachInternals()`, a non-visual view-transition polyfill, JSON import attributes and caching, customizable `select` elements, and custom import paths in Node.js. The CSS `at-rule()` feature is not yet broadly supported and is expected in Chrome 148; CSS unit conversion with `.to()` is also not available in all browsers. The newsletter additionally notes Firefox 148 baseline support for CSS `shape()` with `offset-path` or `clip-path`.

### Source excerpt

Guten Tag! Guten Tag! 👋 Have you heard of focusgroup? Did you try aliases in Node.js imports already? Or do you know that CSS is available in JavaScript? Turn on the Web Weekly tune and find some answers below. Enjoy! Mario listens to "Ethel Cain - Waco, Texas" and says: This is my kind of opera. Do you want to share your favorite song with the Web Weekly community? Hit reply; there are four more songs left in the queue. If you enjoy Web Weekly, share it with your friends and family. 🦋 Bluesky 🐘 Mastodon 💼 Linkedin A quick "repost" really helps this indie newsletter out. Thank you! ❤ Web Weekly housekeeping A big thank you and a huge bag of karma points go to Jonathan this week. Thank you for supporting indie publishing in the times of AI slop by covering a small fraction of the cost it takes to send Web Weekly every week! My little side project is now supported by 40 people. This makes me incredibly happy (and proud). ❤ You can support Web Weekly on Patreon or GitHub Sponsors. And also, I messed up a link last week. I clicked all the links before sending the email, but because last week was an "unofficial Temami edition", I didn't recognize that I linked to the wrong post. Here's the correct link to anchor positioning issues. Sorry! No code I didn't discover good "No code" articles this week. Did you read something great beyond coding lately? I'd love to read it, too! color-contrast() beyond black & white With Chrome 147 (planned for Mar 25), the contrast-color() function will be newly available across all browsers. Theoretically, the function lets you throw a color in and get an accessible contrast color out. It's a great idea, but contrast-color() is limited to returning black or white right now. Una describes how to work around this limitation. Mix all the colors Form-associated custom elements Granted, Rob's article is very long, but the intro paragraphs make it worth reading already. I've seen the attachInternals() method quite a few times in custom elements

## Style-observer: JS to observe CSS property changes, for reals

DevFeed: [Style-observer: JS to observe CSS property changes, for reals](<https://devfeed.tech/articles/style-observer-js-to-observe-css-property-changes-for-reals-52166.md>)

Original publisher: [Read original article](<https://lea.verou.me/blog/2025/style-observer/>)

Author: Lea Verou

Published: 2025-02-12T00:00:00Z

Content type: article

Language: en

Sources: [Lea Verou's blog](<https://devfeed.tech/sources/lea-verou-s-blog.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [polyfill](<https://devfeed.tech/topics/polyfill.md>)

Tags: [blog](<https://devfeed.tech/tags/blog.md>), [css](<https://devfeed.tech/tags/css.md>), [js](<https://devfeed.tech/tags/js.md>), [launch](<https://devfeed.tech/tags/launch.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [polyfill](<https://devfeed.tech/tags/polyfill.md>), [property](<https://devfeed.tech/tags/property.md>), [style](<https://devfeed.tech/tags/style.md>)

### AI overview

The article explores ways to run JavaScript when CSS property values change, including changes caused by media queries, user actions, or other JavaScript. It discusses use cases such as custom properties, CSS polyfills, and synchronizing HTML attributes with CSS, then reviews earlier polling, selector, observer, and transition-event approaches.

### Source excerpt

I cannot count the number of times in my career I wished I could run JS in response to CSS property changes, regardless of what triggered them: media queries, user actions, or even other JS. Use cases abound. Here are some of mine: Implement higher level custom properties in components, where one custom property changes multiple others in nontrivial ways (e.g. a --variant: danger that sets 10 color tokens). Polyfill missing CSS features Change certain HTML attributes via CSS (hello --aria-expanded!) Set CSS properties based on other CSS properties without having to mirror them as custom properties The most recent time I needed this was to prototype an idea I had for Web Awesome, and I decided this was it: I'd either find a good, bulletproof solution, or I would build it myself. Spoiler alert: Oops, I did it again A Brief History of Style Observers The quest for a JS style observer has been long and torturous. Many have tried to slay this particular dragon, each getting us a little bit closer. The earliest attempts relied on polling, and thus were also prohibitively slow. Notable examples were ComputedStyleObserver by Keith Clark in 2018 and StyleObserver by PixelsCommander in 2019. Jane Ori first asked "Can we do better than polling?" with her css-var-listener in 2019. It parsed the selectors of relevant CSS rules, and used a combination of observers and event listeners to detect changes to the matched elements. Artem Godin was the first to try using transition events such as transitionstart to detect changes, with his css-variable-observer in 2020. In fact, for CSS properties that are animatable, such as color or font-size, using transition events is already enough. But what about the rest, especially custom properties which are probably the top use case? In addition to pioneering transition events for this purpose, Artem also concocted a brilliant hack to detect changes to custom properties: he stuffed them into font-variation-settings, which is animatable regardl

## Bringing Signals to Lit Labs

DevFeed: [Bringing Signals to Lit Labs](<https://devfeed.tech/articles/bringing-signals-to-lit-labs-3523.md>)

Original publisher: [Read original article](<https://lit.dev/blog/2024-10-08-signals/>)

Author: Lit Team

Published: 2024-10-08T00:00:00Z

Content type: release

Language: en

Sources: [Lit Blog](<https://devfeed.tech/sources/lit-blog.md>)

Topics: [JavaScript](<https://devfeed.tech/topics/javascript.md>), [reactive](<https://devfeed.tech/topics/reactive.md>), [Web Components](<https://devfeed.tech/topics/web-components.md>), [interoperability](<https://devfeed.tech/topics/interoperability.md>), [polyfill](<https://devfeed.tech/topics/polyfill.md>)

Tags: [compatibility](<https://devfeed.tech/tags/compatibility.md>), [components](<https://devfeed.tech/tags/components.md>), [interoperability](<https://devfeed.tech/tags/interoperability.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [polyfill](<https://devfeed.tech/tags/polyfill.md>), [reactive](<https://devfeed.tech/tags/reactive.md>)

### AI overview

Lit Labs announced @lit-labs/signals, a package that integrates the polyfill for the TC39 Signals proposal with Lit. It enables shared observable signals for reactive state management, automatic component updates, targeted re-renders, and interoperability across libraries and frameworks.

### Source excerpt

The new Signals package integrates the TC39 Signals proposal with Lit

## The State of ES5 on the Web

DevFeed: [The State of ES5 on the Web](<https://devfeed.tech/articles/the-state-of-es5-on-the-web-29530.md>)

Original publisher: [Read original article](<https://philipwalton.com/articles/the-state-of-es5-on-the-web/>)

Author: For library authors

Published: 2024-09-08T15:18:32Z

Content type: article

Language: en

Sources: [Philip Walton](<https://devfeed.tech/sources/philip-walton.md>)

Topics: [JavaScript](<https://devfeed.tech/topics/javascript.md>), [legacy systems](<https://devfeed.tech/topics/legacy-systems.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [polyfill](<https://devfeed.tech/topics/polyfill.md>), [Code](<https://devfeed.tech/topics/code.md>), [browser](<https://devfeed.tech/topics/browser.md>)

Tags: [article](<https://devfeed.tech/tags/article.md>), [browser](<https://devfeed.tech/tags/browser.md>), [build-tools](<https://devfeed.tech/tags/build-tools.md>), [code](<https://devfeed.tech/tags/code.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [developers](<https://devfeed.tech/tags/developers.md>), [es2015](<https://devfeed.tech/tags/es2015.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [legacy](<https://devfeed.tech/tags/legacy.md>), [polyfill](<https://devfeed.tech/tags/polyfill.md>), [recommendations](<https://devfeed.tech/tags/recommendations.md>), [web](<https://devfeed.tech/tags/web.md>)

### AI overview

This article examines whether web developers and JavaScript library authors still need to transpile code to ES5. It uses data about browser support, popular libraries, tools, and websites to offer production recommendations, while discussing the bundle-size costs of transpilation and polyfills.

### Source excerpt

Should web developers and JavaScript library authors still transpile their code to ES5? This post looks at what the data suggests based on what popular libraries, tools, and websites are doing

## Polyfill supply chain attack embeds malware in JavaScript CDN assets

DevFeed: [Polyfill supply chain attack embeds malware in JavaScript CDN assets](<https://devfeed.tech/articles/polyfill-supply-chain-attack-embeds-malware-in-javascript-cdn-assets-8046.md>)

Original publisher: [Read original article](<https://snyk.io/blog/polyfill-supply-chain-attack-js-cdn-assets/>)

Author: Liran Tal

Published: 2024-06-26T05:00:00Z

Content type: article

Language: en

Sources: [Snyk](<https://devfeed.tech/sources/blog-rss-feed-snyk.md>)

Topics: [Malware](<https://devfeed.tech/topics/malware.md>), [polyfill](<https://devfeed.tech/topics/polyfill.md>), [Security](<https://devfeed.tech/topics/security.md>), [supply-chain-security](<https://devfeed.tech/topics/supply-chain-security.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [snyk-code](<https://devfeed.tech/topics/snyk-code.md>), [Code](<https://devfeed.tech/topics/code.md>), [GitHub](<https://devfeed.tech/topics/github.md>)

Tags: [acquisition](<https://devfeed.tech/tags/acquisition.md>), [application-security](<https://devfeed.tech/tags/application-security.md>), [blog](<https://devfeed.tech/tags/blog.md>), [cdn](<https://devfeed.tech/tags/cdn.md>), [code](<https://devfeed.tech/tags/code.md>), [developer](<https://devfeed.tech/tags/developer.md>), [devrel](<https://devfeed.tech/tags/devrel.md>), [github](<https://devfeed.tech/tags/github.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [malware](<https://devfeed.tech/tags/malware.md>), [open-source-security](<https://devfeed.tech/tags/open-source-security.md>), [polyfill](<https://devfeed.tech/tags/polyfill.md>), [security](<https://devfeed.tech/tags/security.md>), [snyk-code](<https://devfeed.tech/tags/snyk-code.md>), [snyk-open-source](<https://devfeed.tech/tags/snyk-open-source.md>), [supply-chain](<https://devfeed.tech/tags/supply-chain.md>), [supply-chain-security](<https://devfeed.tech/tags/supply-chain-security.md>)

### AI overview

The article reports a JavaScript polyfill supply-chain attack in which malicious code was embedded in assets served through a CDN after the polyfill project and domain changed ownership. It states that more than 100,000 websites may have been affected and explains how Snyk Code custom rules can detect usage of the affected CDN URL in JavaScript or PHP code.

### Source excerpt

On June 25, 2024, the Sansec security research and malware team announced that a popular JavaScript polyfill project had been taken over by a foreign actor identified as a Chinese-originated company.

## Nuxt 3.10

DevFeed: [Nuxt 3.10](<https://devfeed.tech/articles/nuxt-3-10-3423.md>)

Original publisher: [Read original article](<https://nuxt.com/blog/v3-10>)

Published: 2024-01-30T00:00:00Z

Content type: release

Language: en

Sources: [Nuxt](<https://devfeed.tech/sources/the-nuxt-blog.md>)

Topics: [Nuxt.js](<https://devfeed.tech/topics/nuxt.md>), [Node.js](<https://devfeed.tech/topics/node-js.md>), [payload](<https://devfeed.tech/topics/payload.md>), [polyfill](<https://devfeed.tech/topics/polyfill.md>), [Server-side rendering](<https://devfeed.tech/topics/server-side-rendering.md>), [browser](<https://devfeed.tech/topics/browser.md>), [view transitions](<https://devfeed.tech/topics/view-transitions.md>)

Tags: [browser](<https://devfeed.tech/tags/browser.md>), [bugs](<https://devfeed.tech/tags/bugs.md>), [development](<https://devfeed.tech/tags/development.md>), [experimental](<https://devfeed.tech/tags/experimental.md>), [features](<https://devfeed.tech/tags/features.md>), [libraries](<https://devfeed.tech/tags/libraries.md>), [node](<https://devfeed.tech/tags/node.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [nuxt](<https://devfeed.tech/tags/nuxt.md>), [payload](<https://devfeed.tech/tags/payload.md>), [performance](<https://devfeed.tech/tags/performance.md>), [polyfill](<https://devfeed.tech/tags/polyfill.md>), [release](<https://devfeed.tech/tags/release.md>), [server](<https://devfeed.tech/tags/server.md>), [ssr](<https://devfeed.tech/tags/ssr.md>), [update](<https://devfeed.tech/tags/update.md>), [view-transitions](<https://devfeed.tech/tags/view-transitions.md>)

### AI overview

Nuxt 3.10 is a release packed with features and fixes, including automatic payload deduplication and caching during prerendering, SSR-safe unique IDs, module file injection, experimental polyfills for Node.js built-ins in client-side code, CookieStore support, and diagnostics for potential bugs and performance problems.

### Source excerpt

Nuxt 3.10 is out - packed with features and fixes. Here are a few highlights.

## Advent of Code in C++ Template Metaprogramming

DevFeed: [Advent of Code in C++ Template Metaprogramming](<https://devfeed.tech/articles/advent-of-code-in-c-template-metaprogramming-21942.md>)

Original publisher: [Read original article](<https://blog.nelhage.com/post/advent-of-templates/>)

Author: Nelson Elhage

Published: 2023-12-08T15:30:00Z

Content type: tutorial

Language: en

Sources: [Nelson Elhage](<https://devfeed.tech/sources/nelson-elhage.md>)

Topics: [Advent of Code](<https://devfeed.tech/topics/advent-of-code.md>), [C++](<https://devfeed.tech/topics/c-plus-plus.md>), [Code](<https://devfeed.tech/topics/code.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>), [polyfill](<https://devfeed.tech/topics/polyfill.md>)

Tags: [advent-of-code](<https://devfeed.tech/tags/advent-of-code.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [code](<https://devfeed.tech/tags/code.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [polyfill](<https://devfeed.tech/tags/polyfill.md>), [writeup](<https://devfeed.tech/tags/writeup.md>)

### AI overview

An annotated walkthrough of solving the first Advent of Code problem using purely compile-time C++ template metaprogramming. It covers compile-time input handling, folds, helper types, and state tracking to calculate calibration values.

### Source excerpt

This December, the imp of the perverse struck me, and I decided to see how many days of Advent of Code I could do purely in compile-time C++ metaprogramming. As of this writing, I've done two days, and I'm not sure I'll make it any further. However, that's one more day than I planned to do as of yesterday, which is in turn further than I thought I'd make it after my first attempt.

## Container queries land in stable browsers

DevFeed: [Container queries land in stable browsers](<https://devfeed.tech/articles/container-queries-land-in-stable-browsers-28748.md>)

Original publisher: [Read original article](<https://una.im/2023-02-14-cq-stable/>)

Published: 2023-02-14T00:00:00Z

Content type: tutorial

Language: en

Sources: [Una Kravets](<https://devfeed.tech/sources/una-kravets.md>)

Topics: [browser](<https://devfeed.tech/topics/browser.md>), [polyfill](<https://devfeed.tech/topics/polyfill.md>)

Tags: [browsers](<https://devfeed.tech/tags/browsers.md>), [polyfill](<https://devfeed.tech/tags/polyfill.md>)

### AI overview

The article discusses container queries becoming available in stable browsers and working with the related polyfill.

### Source excerpt

Learn about working with container queries and the polyfill.

## Day 68: cascade layers and browser support

DevFeed: [Day 68: cascade layers and browser support](<https://devfeed.tech/articles/day-68-cascade-layers-and-browser-support-52239.md>)

Original publisher: [Read original article](<https://www.matuzo.at/blog/2022/100daysof-day68>)

Author: Manuel Matuzović

Published: 2022-12-28T00:00:00Z

Content type: tutorial

Language: en

Sources: [Manuel Matuzović](<https://devfeed.tech/sources/manuel-matuzovic-blog.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [browser](<https://devfeed.tech/topics/browser.md>), [PostCSS](<https://devfeed.tech/topics/postcss.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [polyfill](<https://devfeed.tech/topics/polyfill.md>), [selectors](<https://devfeed.tech/topics/selectors.md>)

Tags: [browser-support](<https://devfeed.tech/tags/browser-support.md>), [code](<https://devfeed.tech/tags/code.md>), [css](<https://devfeed.tech/tags/css.md>), [dev](<https://devfeed.tech/tags/dev.md>), [polyfill](<https://devfeed.tech/tags/polyfill.md>), [postcss](<https://devfeed.tech/tags/postcss.md>), [selectors](<https://devfeed.tech/tags/selectors.md>)

### AI overview

A practical guide to CSS cascade layers, covering browser support, feature-query limitations, fallback behavior, and using a PostCSS polyfill for older browsers.

### Source excerpt

Cascade layers are one of the most interesting and useful additions to CSS recently. It will change the way we write CSS, how we use selectors, naming conventions, and probably also more things that I can't think of right now. If you're as excited about using cascade layers as I am, you have to consider browser support before you get started. Browser support All major desktop browsers started supporting cascade layers between February and April 2022, but your users might use an older version of Safari, IE11, or one of the mobile browsers that doesn't support it yet. Browser support: Chrome, Edge since version 99, Safari iOS/macOS 15.4, Firefox 97, Opera 86, Chrome for Android/Android Browser 108, Samsung Internet 18, Firefox for Android 107, Opera Mobile 72. Feature queries When you use cascade layers in a browser that doesn't support them, styles in your layers will be ignored entirely. Only unlayered styles will be applied. I was trying to figure out a way to serve styles only to browsers that don't support layers in order to provide some kind of basic fallback styling for them, but I had no luck. There is a @supports feature in CSS that will allow us to test for support of @layer and other at-rules, but the feature itself has no support in any browser yet. @supports at-rule(@layer) { /* code applied for browsers with layer support */ } @supports not at-rule(@layer) { /* fallback applied for browsers without layer support */ } Polyfill If you want to use cascade layers today, your best option is to use this PostCSS polyfill. Miriam Suzanne explains how to use it and how it works in Cascade Layers - There's a Polyfill for That! npm install postcss @csstools/postcss-cascade-layers --save-dev const postcss = require('postcss'); const postcssCascadeLayers = require('@csstools/postcss-cascade-layers'); postcss([ postcssCascadeLayers(/* pluginOptions */) ]).process(YOUR_CSS /*, processOptions */); My blog doesn't support comments yet, but you can reply via blog@matuzo.a

## Bun v0.2.1

DevFeed: [Bun v0.2.1](<https://devfeed.tech/articles/bun-v0-2-1-49315.md>)

Original publisher: [Read original article](<https://bun.com/blog/bun-v0.2.1>)

Author: Jarred Sumner

Published: 2022-10-19T06:10:52Z

Content type: release

Language: en

Sources: [Bun](<https://devfeed.tech/sources/bun-com.md>)

Topics: [Bun](<https://devfeed.tech/topics/bun.md>), [Release notes](<https://devfeed.tech/topics/release-notes.md>), [WebSocket](<https://devfeed.tech/topics/websocket.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [HTTP](<https://devfeed.tech/topics/http.md>), [polyfill](<https://devfeed.tech/topics/polyfill.md>), [Memory Leaks](<https://devfeed.tech/topics/memory-leaks.md>), [npm packages](<https://devfeed.tech/topics/npm-packages.md>)

Tags: [blog](<https://devfeed.tech/tags/blog.md>), [bun](<https://devfeed.tech/tags/bun.md>), [http](<https://devfeed.tech/tags/http.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [memory-leak](<https://devfeed.tech/tags/memory-leak.md>), [npm-packages](<https://devfeed.tech/tags/npm-packages.md>), [polyfill](<https://devfeed.tech/tags/polyfill.md>), [release](<https://devfeed.tech/tags/release.md>), [release-notes](<https://devfeed.tech/tags/release-notes.md>), [test](<https://devfeed.tech/tags/test.md>)

### AI overview

Release notes for Bun v0.2.1 covering built-in server-side WebSocket support, a RegExp lookbehind fallback based on Oniguruma, HTTP and client fixes, memory-leak and crash fixes, and additional test coverage.

### Source excerpt

Release notes for Bun v0.2.1

## Speeding Up Async Snippets

DevFeed: [Speeding Up Async Snippets](<https://devfeed.tech/articles/speeding-up-async-snippets-45654.md>)

Original publisher: [Read original article](<https://csswizardry.com/2022/10/speeding-up-async-snippets/>)

Author: Harry Roberts

Published: 2022-10-12T20:48:12Z

Content type: tutorial

Language: en

Sources: [CSS Wizardry](<https://devfeed.tech/sources/css-wizardry.md>)

Topics: [async](<https://devfeed.tech/topics/async.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [browser](<https://devfeed.tech/topics/browser.md>), [Document Object Model (DOM)](<https://devfeed.tech/topics/dom.md>), [HTML](<https://devfeed.tech/topics/html.md>), [web-standards](<https://devfeed.tech/topics/web-standards.md>), [polyfill](<https://devfeed.tech/topics/polyfill.md>)

Tags: [async](<https://devfeed.tech/tags/async.md>), [browser](<https://devfeed.tech/tags/browser.md>), [code](<https://devfeed.tech/tags/code.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [legacy](<https://devfeed.tech/tags/legacy.md>), [performance](<https://devfeed.tech/tags/performance.md>), [polyfill](<https://devfeed.tech/tags/polyfill.md>), [resource-loading](<https://devfeed.tech/tags/resource-loading.md>), [third-parties](<https://devfeed.tech/tags/third-parties.md>)

### AI overview

This tutorial explains how async snippets dynamically inject JavaScript so browsers treat the scripts as asynchronous. It argues that the technique is now a legacy performance workaround and that the async attribute should generally be used instead, except when supporting very old browsers.

### Source excerpt

Async snippets used to improve performance, but now they're a legacy anti-pattern. How do we handle them now?

## Working with container queries and the polyfill

DevFeed: [Working with container queries and the polyfill](<https://devfeed.tech/articles/working-with-container-queries-today-28746.md>)

Original publisher: [Read original article](<https://una.im/2022-09-15-cq-stable/>)

Published: 2022-09-15T00:00:00Z

Content type: tutorial

Language: en

Sources: [Una Kravets](<https://devfeed.tech/sources/una-kravets.md>)

Topics: [container](<https://devfeed.tech/topics/container.md>), [polyfill](<https://devfeed.tech/topics/polyfill.md>)

Tags: [container](<https://devfeed.tech/tags/container.md>), [learn](<https://devfeed.tech/tags/learn.md>), [polyfill](<https://devfeed.tech/tags/polyfill.md>)

### AI overview

A tutorial about working with container queries and using the polyfill.

### Source excerpt

Learn about working with container queries and the polyfill.

## How we think about browsers

DevFeed: [How we think about browsers](<https://devfeed.tech/articles/how-we-think-about-browsers-68301.md>)

Original publisher: [Read original article](<https://github.blog/engineering/infrastructure/how-we-think-about-browsers/>)

Author: Keith Cirkel

Published: 2022-06-10T18:37:03Z

Content type: article

Language: en

Sources: [GitHub Blog](<https://devfeed.tech/sources/github-engineering.md>), [GitHub Engineering](<https://devfeed.tech/sources/github.md>)

Topics: [State of the Web](<https://devfeed.tech/topics/state-of-the-web.md>), [polyfill](<https://devfeed.tech/topics/polyfill.md>), [Test automation](<https://devfeed.tech/topics/test-automation.md>), [Browser Automation](<https://devfeed.tech/topics/browser-automation.md>), [Page Speed Optimization](<https://devfeed.tech/topics/page-speed-optimization.md>)

Tags: [browser-bugs](<https://devfeed.tech/tags/browser-bugs.md>), [browser-support](<https://devfeed.tech/tags/browser-support.md>), [browsers](<https://devfeed.tech/tags/browsers.md>), [bugs](<https://devfeed.tech/tags/bugs.md>), [compatibility](<https://devfeed.tech/tags/compatibility.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [tools](<https://devfeed.tech/tags/tools.md>)

### AI overview

GitHub describes how it uses browser traffic data, progressive enhancement, linting, polyfills, and internal tools to choose browser support and JavaScript features. Its browser-support CLI combines compatibility data with usage analytics to help engineers assess the impact of adopting native syntax. The article also explains how a baseline browser capability check reduces noise in error reporting.

### Source excerpt

Discover how GitHub thinks about browser support, look at usage patterns, and learn about the tools we use to make sure our customers are getting the best experience.

## Simple pie charts with fallback, today

DevFeed: [Simple pie charts with fallback, today](<https://devfeed.tech/articles/simple-pie-charts-with-fallback-today-52125.md>)

Original publisher: [Read original article](<https://lea.verou.me/2020/11/simple-pie-charts-with-fallback-today/>)

Author: Lea Verou

Published: 2020-11-12T00:00:00Z

Content type: tutorial

Language: en

Sources: [Lea Verou's blog](<https://devfeed.tech/sources/lea-verou-s-blog.md>)

Topics: [Data visualization](<https://devfeed.tech/topics/data-visualization.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [web graphics](<https://devfeed.tech/topics/web-graphics.md>), [browser](<https://devfeed.tech/topics/browser.md>), [polyfill](<https://devfeed.tech/topics/polyfill.md>)

Tags: [blog](<https://devfeed.tech/tags/blog.md>), [charts](<https://devfeed.tech/tags/charts.md>), [conic-gradient](<https://devfeed.tech/tags/conic-gradient.md>), [css](<https://devfeed.tech/tags/css.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [fallback](<https://devfeed.tech/tags/fallback.md>), [firefox](<https://devfeed.tech/tags/firefox.md>), [graceful-degradation](<https://devfeed.tech/tags/graceful-degradation.md>), [gradient](<https://devfeed.tech/tags/gradient.md>), [pie](<https://devfeed.tech/tags/pie.md>), [pie-charts](<https://devfeed.tech/tags/pie-charts.md>), [polyfill](<https://devfeed.tech/tags/polyfill.md>), [prefix-free](<https://devfeed.tech/tags/prefix-free.md>), [tips](<https://devfeed.tech/tags/tips.md>)

### AI overview

For IE11 support, use a linear-gradient progress bar as a graceful fallback and switch to a conic-gradient pie with `@supports` in capable browsers. The excerpt's example uses matching color stops; CSS variables can avoid duplicating the percentage in relatively modern browsers. A square fallback keeps chart dimensions consistent, though it is not a pie. The older conic-gradient polyfill is discouraged for production unless `-prefix-free` is already in use, because it adds a heavy dependency that reprocesses CSS and loses sourcemaps. Radial-gradient circles are a poor substitute: naive radius scaling misrepresents area, and getting the desired proportions requires a square-root calculation.

### Source excerpt

Five years ago, I had written this extensive Smashing Magazine article detailing multiple different methods for creating simple pie charts, either with clever use of transforms and pseudo-elements, or with SVG stroke-dasharray. In the end, I mentioned creating pie charts with conic gradients, as a future technique. It was actually a writeup of my "The Missing Slice" talk, and an excerpt of my CSS Secrets book, which had just been published. I was reminded of this article today by someone on Twitter: https://twitter.com/sam\_kent\_/status/1326805431390531584 I suggested conic gradients, since they are now supported in >87% of users' browsers, but he needed to support IE11. He suggested using my polyfill from back then, but this is not a very good idea today. https://twitter.com/fcorradini/status/1326880827825905665 Indeed, unless you really need to display conic gradients, even I would not recommend using the polyfill on a production facing site. It requires -prefix-free, which re-fetches (albeit from cache) your entire CSS and sticks it in a <style> element, with no sourcemaps since those were not a thing back when -prefix-free was written. If you're already using -prefix-free, the polyfill is great, but if not, it's way too heavy a dependency. Pie charts with fallback (modern browsers) Instead, what I would recommend is graceful degradation, i.e. to use the same color stops, but in a linear gradient. We can use @supports and have quite an elaborate progress bar fallback. For example, take a look at this 40% pie chart: .pie { height: 20px; background: linear-gradient(to right, deeppink 40%, transparent 0); background-color: gold; } @supports (background: conic-gradient(white, black)) { .pie { width: 200px; height: 200px; background-image: conic-gradient(deeppink 40%, transparent 0); border-radius: 50%; } } This is what it looks like in Firefox 82 (conic gradients are scheduled to ship unflagged in Firefox 83) or IE11: Note that because @supports is only used for the

## Tailwind CSS v1.5.0

DevFeed: [Tailwind CSS v1.5.0](<https://devfeed.tech/articles/tailwind-css-v1-5-0-3483.md>)

Original publisher: [Read original article](<https://tailwindcss.com/blog/tailwindcss-1-5>)

Published: 2020-07-15T18:55:18Z

Content type: release

Language: en

Sources: [Tailwind CSS](<https://devfeed.tech/sources/tailwind-css-blog.md>)

Topics: [Tailwind CSS](<https://devfeed.tech/topics/tailwind.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [polyfill](<https://devfeed.tech/topics/polyfill.md>), [PostCSS](<https://devfeed.tech/topics/postcss.md>)

Tags: [component](<https://devfeed.tech/tags/component.md>), [github](<https://devfeed.tech/tags/github.md>), [plugin](<https://devfeed.tech/tags/plugin.md>), [polyfill](<https://devfeed.tech/tags/polyfill.md>), [release](<https://devfeed.tech/tags/release.md>), [tailwind](<https://devfeed.tech/tags/tailwind.md>), [tailwind-css](<https://devfeed.tech/tags/tailwind-css.md>), [v1](<https://devfeed.tech/tags/v1.md>)

### AI overview

Tailwind CSS v1.5.0 is a minor release that adds variants for component classes, responsive container variants, focus-visible styling, and conditional styling for checkboxes and radio buttons. It also introduces plugin and configuration options for enabling these features, with improved CSS purging behavior and optional polyfill support for browsers.

### Source excerpt

Tailwind CSS v1.5.0 is here, now with component variants, responsive container variants, focus-visible support, and more.

## Laravel v7.12.0 released

DevFeed: [Laravel v7.12.0 released](<https://devfeed.tech/articles/laravel-v7-12-0-released-3858.md>)

Original publisher: [Read original article](<https://laravel.com/blog/laravel-v7-12-0-released>)

Author: Laravel Team

Published: 2020-05-20T05:35:00Z

Content type: release

Language: en

Sources: [Laravel Blog](<https://devfeed.tech/sources/laravel-blog.md>)

Topics: [Laravel](<https://devfeed.tech/topics/laravel.md>), [Database](<https://devfeed.tech/topics/database.md>), [Cache](<https://devfeed.tech/topics/cache.md>), [Routing (disambiguation)](<https://devfeed.tech/topics/routing.md>), [bug](<https://devfeed.tech/topics/bug.md>), [polyfill](<https://devfeed.tech/topics/polyfill.md>), [Symfony](<https://devfeed.tech/topics/symfony.md>)

Tags: [bug](<https://devfeed.tech/tags/bug.md>), [cache](<https://devfeed.tech/tags/cache.md>), [database](<https://devfeed.tech/tags/database.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [polyfill](<https://devfeed.tech/tags/polyfill.md>), [release](<https://devfeed.tech/tags/release.md>), [routing](<https://devfeed.tech/tags/routing.md>), [symfony](<https://devfeed.tech/tags/symfony.md>)

### AI overview

Laravel v7.12.0, released on May 19, 2020, adds TrustHosts middleware and the ability to skip middleware from resource routes. It also fixes issues involving queued mail attachments, authentication, database schema constraints, component generation, URL defaults, cache expiration, and attribute casting, while adding an explicit Symfony polyfill dependency and other changes.

### Source excerpt

Laravel v7.12.0 is released in 2020/05/19, here are the changes we`ve merged into this release.

## Polyfill as needed with polyfill-service

DevFeed: [Polyfill as needed with polyfill-service](<https://devfeed.tech/articles/polyfill-as-needed-with-polyfill-service-51845.md>)

Original publisher: [Read original article](<https://kentcdodds.com/blog/polyfill-as-needed-with-polyfill-service>)

Published: 2018-08-06T00:00:00Z

Content type: tutorial

Language: en

Sources: [Kent C. Dodds Blog](<https://devfeed.tech/sources/kent-c-dodds-blog.md>)

Topics: [polyfill](<https://devfeed.tech/topics/polyfill.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [browser](<https://devfeed.tech/topics/browser.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [browser](<https://devfeed.tech/tags/browser.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [loading](<https://devfeed.tech/tags/loading.md>), [performance](<https://devfeed.tech/tags/performance.md>), [polyfill](<https://devfeed.tech/tags/polyfill.md>), [polyfills](<https://devfeed.tech/tags/polyfills.md>)

### AI overview

A tutorial on serving only the JavaScript polyfills required by each requesting browser. It explains how a customized polyfill-service endpoint can reduce unnecessary downloads, parsing, and execution for users on modern browsers while supporting older browsers such as Internet Explorer 10.

### Source excerpt

How to maximize the performance of loading polyfills for your application users.

## What is a polyfill

DevFeed: [What is a polyfill](<https://devfeed.tech/articles/what-is-a-polyfill-51912.md>)

Original publisher: [Read original article](<https://kentcdodds.com/blog/what-is-a-polyfill>)

Published: 2018-07-30T00:00:00Z

Content type: tutorial

Language: en

Sources: [Kent C. Dodds Blog](<https://devfeed.tech/sources/kent-c-dodds-blog.md>)

Topics: [JavaScript](<https://devfeed.tech/topics/javascript.md>), [polyfill](<https://devfeed.tech/topics/polyfill.md>), [Babel](<https://devfeed.tech/topics/babel.md>), [Code](<https://devfeed.tech/topics/code.md>), [browser](<https://devfeed.tech/topics/browser.md>), [syntax](<https://devfeed.tech/topics/syntax.md>), [Single-page application (SPA)](<https://devfeed.tech/topics/spa.md>)

Tags: [babel](<https://devfeed.tech/tags/babel.md>), [browser](<https://devfeed.tech/tags/browser.md>), [client](<https://devfeed.tech/tags/client.md>), [code](<https://devfeed.tech/tags/code.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [monkey-patching](<https://devfeed.tech/tags/monkey-patching.md>), [polyfill](<https://devfeed.tech/tags/polyfill.md>), [prototype](<https://devfeed.tech/tags/prototype.md>), [what-is](<https://devfeed.tech/tags/what-is.md>)

### AI overview

This tutorial explains why Babel syntax transformations do not automatically provide newer JavaScript APIs in older browsers. It defines polyfills, shows how gated polyfills and monkey-patching work, and discusses browser compatibility in client-side applications.

### Source excerpt

The difference between a polyfill and a code transform.

## Reading and updating query params with URLSearchParams

DevFeed: [Reading and updating query params with URLSearchParams](<https://devfeed.tech/articles/reading-and-updating-query-params-with-urlsearchparams-52579.md>)

Original publisher: [Read original article](<http://www.jackfranklin.co.uk/blog/url-search-params/>)

Published: 2018-07-23T00:00:00Z

Content type: tutorial

Language: en

Sources: [Jack Franklin](<https://devfeed.tech/sources/jack-franklin.md>)

Topics: [Query (disambiguation)](<https://devfeed.tech/topics/query.md>), [polyfill](<https://devfeed.tech/topics/polyfill.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [application](<https://devfeed.tech/tags/application.md>), [browser](<https://devfeed.tech/tags/browser.md>), [browser-support](<https://devfeed.tech/tags/browser-support.md>), [browsers](<https://devfeed.tech/tags/browsers.md>), [constructor](<https://devfeed.tech/tags/constructor.md>), [has](<https://devfeed.tech/tags/has.md>), [polyfill](<https://devfeed.tech/tags/polyfill.md>), [query](<https://devfeed.tech/tags/query.md>), [url](<https://devfeed.tech/tags/url.md>)

### AI overview

URLSearchParams provides a browser API for reading and updating query strings. Initialize it with a query string or `location.search`; use `has` and `get` to check for a parameter and read its first value, or `getAll` when a key can have multiple values. Iteration and `keys()`, `values()`, and `entries()` include repeated keys for each value. Its methods mutate the existing object: `delete` removes every value for a key, `append` adds another pair, and `set` replaces existing values. `toString()` serializes the parameters without a leading `?`. The excerpt says support is broadly good but identifies IE11 and Opera Mini as gaps and mentions a polyfill.

### Source excerpt

One of the most common tasks in building a frontend application is to update query parameters. A quick search for query string on npm reveals many options that people have built for tackling this task. But what fewer people seem to be aware of is that there is now an API for working with query parameters baked right into the browser and it's called URLSearchParams. In this post we'll have a quick play with the API to see how easy it makes working with query params. Browser Support At the time of writing, browser support for URLSearchParams is very good. IE11 is the main offender, along with Opera Mini. The good news is that there is an excellent polyfill that you can use to ensure your application will continue to work in browsers that don't support it natively 👍. Using URLSearchParams URLSearchParams expects to be given a string of query parameters (with or without the initial ?). If you've got a full URL that you'd like to parse query params from, you can use location.search to pull those out: // Working with the current URL // URL: buy-shirts-here.com/filter?size=M&colour=red&sleeves=short location.search //=> ?size=M&colour=red&sleeves=short // Creating an instance of new URL from scratch works too... const url = new URL("https://buy-shirts-here.com/filter?filter?size=M&colour=red&sleeves=short") url.search //=> ?size=M&colour=red&sleeves=short We can now that that location.search and pass it to the URLSearchParams constructor: const params = new URLSearchParams(location.search) Querying for parameters We can use has to see if a particular query param is present: params.has('size') // => true params.has('button-style') // => false If you want to read the values out of a query parameter, you can use get. If no query parameter exists, you'll get null back. params.get('size') // => 'M' params.get('button-style') // => null I often find rather than use has to check, and then get to fetch the value, I can just use get and check that the value is not null. get vs getA

## The Dark Side of Polyfilling CSS

DevFeed: [The Dark Side of Polyfilling CSS](<https://devfeed.tech/articles/the-dark-side-of-polyfilling-css-29527.md>)

Original publisher: [Read original article](<https://philipwalton.com/articles/the-dark-side-of-polyfilling-css/>)

Published: 2016-12-22T18:18:08Z

Content type: article

Language: en

Sources: [Philip Walton](<https://devfeed.tech/sources/philip-walton.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [polyfill](<https://devfeed.tech/topics/polyfill.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [article](<https://devfeed.tech/tags/article.md>), [css](<https://devfeed.tech/tags/css.md>), [polyfill](<https://devfeed.tech/tags/polyfill.md>)

### AI overview

This article explains why polyfilling CSS is difficult by building a polyfill for a hypothetical CSS keyword that returns a random number between 0 and 1. It contrasts CSS with JavaScript polyfills and explains how Houdini APIs could make CSS polyfilling possible in ways that are not currently available.

### Source excerpt

Earlier this year I wrote an article for Smashing Magazine about Houdini, and I called it the "most exciting development in CSS you've never heard of". In the article I argue that Houdini APIs will (among other things) make it possible to polyfill CSS features in a way that simply cannot be done today.

[Next page](<https://devfeed.tech/topics/polyfill.md?cursor=WyIyMDE2LTEyLTIyVDE4OjE4OjA4KzAwOjAwIiwgImE3OWNkNTUyLWM2MDAtNDMxOC05ZjFlLTc0OGY3MzlmMGNlZiJd>)