Home/2021
Archive

Year 2021

1,782 articles published in 2021.

Frontend — "Just in Time" CSS

"Just in Time" CSS

I believe acss.io is the first usage of "Atomic CSS" where the point of it is to be a compiler. You write CSS like this:

CCChris Coyier·September 10, 2021Frontend
Engineering — Fun Times Styling Checkbox States

Fun Times Styling Checkbox States

We might leave a text input unstyled. We might leave a link unstyled. Even a button. But checkboxes… we don’t leave them alone. That’s why styling checkboxes

PPreethiPreethi·September 10, 2021Engineering
Engineering — EyeDropper API Dropped

EyeDropper API Dropped

I had no idea this was coming but it's pretty neat! Chrome has shipped the EyeDropper API in v95 (Canary, as I write).

CCChris Coyier·September 10, 2021Engineering
Security — How WhatsApp is enabling end-to-end encrypted backups

How WhatsApp is enabling end-to-end encrypted backups

For years, in order to safeguard the privacy of people’s messages, WhatsApp has provided end-to-end encryption by default ​​so messages can be seen only by the sender and recipient, and no one in between. Now, we’re planning to give people the option to protect their WhatsApp backups using end-to-end encryption as well. People can already […]

CWChris Wiltz·September 10, 2021Security
Languages — Web Design Done Well: Excellent Editorial — Smashing Magazine

Web Design Done Well: Excellent Editorial — Smashing Magazine

For better or worse, the web is absolutely awash with content. A lot of it is great, a lot of it is not. A lot of the talk around it has the cold, calculating cadence you’d sooner expect from industrialists talking about assembly lines. They say content is king, and they’re right. The web has unlocked untold possibilities for storytellers — provided the story is right, of course. Here are some of

FOFrederick O BrienFrederick O Brien·September 10, 2021Languages
Engineering — Frameworks Helping Image Usage

Frameworks Helping Image Usage

I recently blogged about how images are hard and it ended up being a big ol' checklist of things that you could/should think about and implement when placing

CCChris Coyier·September 9, 2021Engineering
Performance — Using SWR React Hooks With Next.js’ Incremental Static Regeneration (ISR) — Smashing Magazine

Using SWR React Hooks With Next.js’ Incremental Static Regeneration (ISR) — Smashing Magazine

When paired with ISR and Next.js’ API routes, SWR can be used to create a responsive user experience. In this article, Sam Poder explains what SWR is, where to use it (and where not), and how to build a website by using Incremental Static Regeneration. This approach ensures that users still have a good experience, that the site is fast and that the data is kept up to date.

SPSam PoderSam Poder·September 9, 2021Performance
Networking — Introducing: Custom Hostname Analytics

Introducing: Custom Hostname Analytics

Today, we’re excited to announce that SaaS providers will now be able to give their customers visibility into what happens to their traffic when the customer onboards onto the SaaS provider, and inherently, onto the Cloudflare network.

CCloudflare·September 8, 2021Networking
Engineering — Ship / Show / Ask

Ship / Show / Ask

Ship/Show/Ask is a branching strategy that combines the features of Pull Requests with the ability to keep shipping changes. Changes are categorized as either Ship (merge into mainline without review), Show (open a pull request for review, but merge into mainline immediately), or Ask (open a pull request for discussion before merging).

RWRouan Wilsenach·September 8, 2021Engineering
Frontend — Developer Decisions For Building Flexible Components — Smashing Magazine

Developer Decisions For Building Flexible Components — Smashing Magazine

Being able to look past the apparent simplicity, break down a component into its constituent parts, ask key questions, and even consider future uses, are all skills that will serve any developer well when building websites In this article, we’ll walk through the process of taking a seemingly simple design for a text-and-media component and deciding how best to translate it into code, keeping in mi

MBMichelle BarkerMichelle Barker·September 8, 2021Frontend
Security — What’s new with Cloudflare for SaaS?

What’s new with Cloudflare for SaaS?

Today, we’re excited to announce all the customizations that our team has been working on for our Enterprise customers — for both Cloudflare for SaaS and SSL for SaaS.

DDinaDina·September 7, 2021Security
Frontend — Behind the Scenes of Slack’s Acquisition Announcement

Behind the Scenes of Slack’s Acquisition Announcement

On July 21st, 2021, Slack officially became a part of Salesforce at the price tag of $27.7 billion. This was undoubtedly Slack’s most significant event in the past year. As a frontend intern on Slack’s Customer Acquisition team this summer, I had the once-in-a-lifetime opportunity to be directly involved with announcing the closing of one…

MMMina Markham·September 7, 2021Frontend
Frontend — What’s New With DevTools: Cross-Browser Edition — Smashing Magazine

What’s New With DevTools: Cross-Browser Edition — Smashing Magazine

Learn what’s new with developer tools in Firefox, Edge, Chrome and Safari. Discover new and powerful features that will help you be more comfortable and productive when testing and debugging across browsers. With this article, Patrick Brosset tries to make you want to try them out, and maybe will help you get more comfortable next time you need to debug a browser-specific issue.

PPatrickbrossetPatrickbrosset·September 7, 2021Frontend
Frontend — Early Days for CSS Scoping

Early Days for CSS Scoping

There is a working draft spec for CSS scoping now. Other than a weird period where <style scoped> shipped and then was subsequently removed from the

CCChris Coyier·September 6, 2021Frontend
Networking — HTTP/3: Practical Deployment Options (Part 3) — Smashing Magazine

HTTP/3: Practical Deployment Options (Part 3) — Smashing Magazine

After almost five years in development, the new HTTP/3 protocol is nearing its final form. In this part 3, Robin Marx will look at how to practically use and deploy QUIC and HTTP/3, by looking at most best practices and lessons learned from HTTP/2. You’ll discuss that it might take a while before off-the-shelf web server packages provide full HTTP/3 support, and how most major browsers have HTTP/3

RMRobin MarxRobin Marx·September 6, 2021Networking
Engineering — Release Radar

Release Radar

The end of financial year is complete, tax time is over, and everyone is back to shipping awesome projects. During August, our community has been super busy shipping lots of…

MDMichelle DukeMichelle Duke·September 3, 2021Engineering
Engineering — Reducing Carbon Emissions On The Web — Smashing Magazine

Reducing Carbon Emissions On The Web — Smashing Magazine

Websites, unfortunately, aren’t as environmentally friendly as we might like them to be. In this article, Berwyn Powell takes a look at his experience in trying to make websites better for the environment. Hopefully, this will give you some ideas for things to try on your own websites. It can be quite disheartening to run a page through the Website Carbon Calculator and be told that it could be em

BBezpowell·September 3, 2021Engineering
Engineering — Quick Tunnels: Anytime, Anywhere

Quick Tunnels: Anytime, Anywhere

Cloudflare Tunnel now supports a free version that includes all the latest features and does not require any onboarding to Cloudflare. With today’s change, you can begin experimenting with Tunnel in five minutes or less.

RRishabhRishabh·September 2, 2021Engineering
SRE & Ops — CacheLib, Facebook’s open source caching engine for web-scale services

CacheLib, Facebook’s open source caching engine for web-scale services

Caching plays an important role in helping people access their information efficiently. For example, when an email app loads, it temporarily caches some messages, so the user can refresh the page without the app retrieving the same messages. However, large-scale caching has long been a complex engineering challenge. Companies must balance the fast experience people […]

MEMeta Engineering·September 2, 2021SRE & Ops
Databases — Interactive Learning Tools For Front-End Developers — Smashing Magazine

Interactive Learning Tools For Front-End Developers — Smashing Magazine

There are plenty of interactive ways to learn new web development skills. We learn better by playing games. So we’ve collected interactive coding tools and games to help you learn CSS, JavaScript, SQL, React, Vim, regular expressions, Jamstack and pretty much everything in-between. Louis shares a comprehensive, categorized list of such tools covering a variety of different development technologies

LLLouis LazarisLouis Lazaris·September 2, 2021Databases
Engineering — Some Typography Links VII

Some Typography Links VII

All-things-typography, from a hard-edged monospaced variable font to fonts in the "Twilight Zone" ... and much, much more.

CCChris Coyier·September 1, 2021Engineering
Engineering — GitHub Availability Report: August 2021

GitHub Availability Report: August 2021

In August, we experienced two distinct incidents resulting in significant impact and degraded state of availability for Git operations, API requests, webhooks, issues, pull requests, GitHub Pages, GitHub Packages, and GitHub Actions services.

SSScott SandersScott Sanders·September 1, 2021Engineering
Security — Improving Git protocol security on GitHub

Improving Git protocol security on GitHub

We’re changing which keys are supported in SSH and removing unencrypted Git protocol. Only users connecting via SSH or git:// will be affected. If your Git remotes start with https://, nothing in this post will affect you. If you’re an SSH user, read on for the details and timeline.

MCMatt Cooper, brian m. carlsonMatt Cooper, brian m. carlson·September 1, 2021Security
Career & Teams — The Four Agile Values and Slack

The Four Agile Values and Slack

Agile development methods can bolster company culture and empower teams to move quickly, with a focus on frequently adding value for customers. Whether you are a program manager, game developer, event planner, or architect, within businesses where change is constant, it’s key to have flexibility, and that’s where agile shines. While there are a variety…

BRBrian RiggsbeeBrian Riggsbee·September 1, 2021Career & Teams
Frontend — A Deep Dive Into The Wonderful World Of SVG Displacement Filtering — Smashing Magazine

A Deep Dive Into The Wonderful World Of SVG Displacement Filtering — Smashing Magazine

What exactly is a displacement filter? In this article, Dirk Weber will be diving into one of the most spectacular filter effects: the SVG feDisplacementMap filter primitive. In order to make it all easier to digest, Dirk has divided the article into three parts in which you’ll be exploring how the feDisplacementMap works, methods to create fancy displacement maps in SVG, and methods to animate th

DWDirk WeberDirk Weber·September 1, 2021Frontend
Engineering — Application-Specific Links

Application-Specific Links

You know like https:? That's a URL Scheme. You're probably familiar with the concept, thanks to others that come up in front-end development, like mailto:.

CCChris Coyier·August 31, 2021Engineering
Engineering — Vague infringement allegations considered harmful

Vague infringement allegations considered harmful

Ensuring that software copyright allegations are specific and actionable benefits the entire developer ecosystem. That’s why GitHub submitted a “friend of the court” brief in the SAS Institute, Inc. v. World Programming Ltd. case before a Federal Court of Appeals.

JCJustin ColanninoJustin Colannino·August 31, 2021Engineering
Engineering — Request for proposals: Defining standardized GitHub metrics

Request for proposals: Defining standardized GitHub metrics

The GitHub Social Impact and Policy teams are issuing a Request for Proposal (RFP) for a researcher to define a list of publicly available GitHub platform usage metrics by country for international development, public policy and economics disciplines.

MKMala KumarMala Kumar·August 31, 2021Engineering
Frontend — An Interactive Guide to Keyframe Animations

An Interactive Guide to Keyframe Animations

CSS keyframe animations are incredibly flexible and powerful, but they’re also a bit weird. In this deep-dive tutorial, we'll learn how CSS keyframes work from the ground up, and see how to use them to build high-quality animations.

JWJosh W. Comeau·August 31, 2021Frontend
Frontend — State Management In Next.js — Smashing Magazine

State Management In Next.js — Smashing Magazine

By combining some React APIs, we can accurately manage “simple” states. With Next.js though, we can quickly find situations where we need to accommodate many other requirements. This article is intended to be used as a primer for managing complex states in a Next.js app. These strategies should fit the vast majority of apps around with little to no adjustments. Let’s have a look at some patterns t

AFAtila FassinaAtila Fassina·August 31, 2021Frontend