AVIF is an image format that compresses to a smaller size than WebP or JPEG https://t.co/MDDdL8tw8S It's in Chrome 85, behind a flag in Firefox & can be a progressive enhancement!
🤖 The new JavaScript replaceAll method makes it easier to replace all instances of a substring in a string without having to convert the substring to a regex first.
(supported via Babel’s preset-env)
🔥 The Intl.RelativeTimeFormat API enables localized formatting of relative times (e.g. “yesterday”, “42 seconds ago”, or “in 3 months”) without sacrificing performance.
@mathias explains: https://t.co/yZuqeSKbWT
Dev Tips - DevTools: Pin 📌 your console expressions to the top of the Console panel: https://t.co/xlnJ2rurIu - Expressions are continuously evaluated meaning you get instant updates for changes 🔥
Huge congratulations to the Edge team for shipping service workers. With that, service workers are available in *all* modern browser engines.
And thanks to @abraham for this PR to https://t.co/zZvIp6Vzbk…
Tip: Run getEventListeners(element) in the Console to get an array of that element's event listeners. Passing $0 (like in the screenshot) returns the listeners for whatever element you've selected in the DOM Tree of the Elements panel.
pwa example : Best Western River North in Chicago launched a new website, which leverages Progressive Web App technology, resulting in a 300 percent increase in revenue and a 500 percent increase in room nights versus its old website. https://t.co/1yQDV0YEml #pwa