Home/2021
Archive

Year 2021

1,782 articles published in 2021.

Performance — Links on Performance III

Links on Performance III

Making GitHub’s new homepage fast and performant — Tobias Ahlin describes how the scrolling effects are done more performantly thanks to IntersectionObserver

CCChris Coyier·May 24, 2021Performance
Networking — proxy-www

proxy-www

I like a good trick. What if... a URL was... a promise... that fetched said URL?

CCChris Coyier·May 24, 2021Networking
Engineering — Role Management at Slack

Role Management at Slack

Controlling which users are able to take which actions is no simple task. Building this into Slack has always been an interesting challenge. In large enterprise organizations, the standard types of roles we offered to customers were too broad, and delegating a generic admin role can grant someone with too much power — what if…

JBJake Byman·May 24, 2021Engineering
Frontend — Svelte for the Experienced React Dev

Svelte for the Experienced React Dev

This post is an accelerated introduction to Svelte from the point of view of someone with solid experience with React. I’ll provide a quick introduction, and

ARAdam RackisAdam Rackis·May 21, 2021Frontend
Frontend — CSS Hell

CSS Hell

Collection of common CSS mistakes, and how to fix them

CCChris Coyier·May 21, 2021Frontend
Career & Teams — Other Driven Developments - Shopify

Other Driven Developments - Shopify

Mental models within an industry, company, or even a person, change constantly. As methodologies mature, we see the long term effects our choices have wrought and can adjust accordingly. As a team or company grows, methodologies that worked well for five people may not work as well for 40 people.

SEShopify Engineering·May 21, 2021Career & Teams
Systems — Building A Rich Text Editor (WYSIWYG) — Smashing Magazine

Building A Rich Text Editor (WYSIWYG) — Smashing Magazine

In this article, Shalabh Vyas will show you how to build a WYSIWYG/Rich-Text Editor that supports rich text, images, links and some nuanced features from word processing apps. We will use SlateJS to build the shell of the editor and then add a toolbar and custom configurations. The code for the application is available on GitHub for reference.

SVShalabh VyasShalabh Vyas·May 21, 2021Systems
Frontend — Learn CSS!

Learn CSS!

Ooo look at this mighty SEO flex from Google: Learn CSS! Well deserved — this is great content. Twenty-three chapters taking you through all the fundamentals

CCChris Coyier·May 20, 2021Frontend
Frontend — JSON in CSS

JSON in CSS

Jonathan Neal tweeted a heck of a little CSS trick the other day, putting JSON inside CSS and plucking it out with JavaScript. Valid values for custom

CCChris Coyier·May 20, 2021Frontend
Frontend — fit-content and fit-content()

fit-content and fit-content()

Here's some hardcore deep-dive CSS nerdery from PPK. If you can wrap your mind around min-content (the smallest an element can be based on the content it

CCChris Coyier·May 20, 2021Frontend
Networking — Peering automation at Facebook

Peering automation at Facebook

Traffic on the internet travels across many different kinds of links. A fast and reliable way to exchange traffic between different networks and service providers is through peering. Initially, we managed peering via a time-intensive manual process. Reliable peering is essential for Facebook and for everyone’s internet use. But there is no industry standard for […]

MEMeta Engineering·May 20, 2021Networking
Design & UX — Boost Your Skills Online: Smashing Workshops On Front-End And Design — Smashing Magazine

Boost Your Skills Online: Smashing Workshops On Front-End And Design — Smashing Magazine

Our workshops bring in knowledgeable, kind folks from the community to explore real-life solutions to real-life problems, live, with you. Front-end and design are remarkably complex these days. That’s why we invite kind, smart folks from the community to run online workshops for all of us to learn together. And we have new ones coming up, and we’d like to kindly welcome you to join in.

ILIris LjesnjaninIris Ljesnjanin·May 20, 2021Design & UX
Security — How To Implement Authentication In Next.js With Auth0 — Smashing Magazine

How To Implement Authentication In Next.js With Auth0 — Smashing Magazine

At the moment of adding authentication and authorization to our web applications, there are some things that we should evaluate, e.g. whether we need to create our own security platform or whether we can rely on an existing third-party service. Let’s see how we can implement authentication and authorization in Next.js apps, with Auth0.

FGFacundo GiulianiFacundo Giuliani·May 20, 2021Security
Career & Teams — Notion API

Notion API

The Public Beta of the Notion API dropped! Woot! Here's their guide. I've been a Notion user and fan for a long time, for both personal and professional team

CCChris Coyier·May 19, 2021Career & Teams
Engineering — Ludum Dare 48 staff picks

Ludum Dare 48 staff picks

The theme for Ludum Dare 48 was “deeper and deeper,” which inspired over ten thousand people to create almost four thousand games together over a weekend. As you can imagine,…

LRLee ReillyLee Reilly·May 19, 2021Engineering
Engineering — User-Friendly Mega-Dropdowns: When Hover Menus Fail — Smashing Magazine

User-Friendly Mega-Dropdowns: When Hover Menus Fail — Smashing Magazine

With such a complex multi-level navigation, showing the breadth of options requires quite a bit of space. Think of large eCommerce retailers and large corporate sites, catering to many audiences and having plenty of entry points. Do we need mega-dropdown hover menus in 2021? Probably not. Let’s explore things to keep in mind when designing and building a mega-dropdown, alternatives to hover menus

VFVitaly FriedmanVitaly Friedman·May 19, 2021Engineering
Engineering — Multiplayer Doom on Cloudflare Workers

Multiplayer Doom on Cloudflare Workers

So, if a developer wants to run their next hit, say a real-time multiplayer game, using nothing but their app and Workers, without any servers or traditional infrastructure, can they? Let’s prove they can. Here's Doom Multiplayer running on top of Cloudflare Workers.

CCelsoCelso·May 18, 2021Engineering
Frontend — How to Create Neon Text With CSS

How to Create Neon Text With CSS

Neon text can add a nice, futuristic touch to any website. I’ve always loved the magic of neon signs, and wanted to recreate them using CSS. I thought I’d

SOSilvia O'DwyerSilvia O'Dwyer·May 18, 2021Frontend
Frontend — How To Create, Edit And Animate SVGs All In One Place With SVGator 3.0 — Smashing Magazine

How To Create, Edit And Animate SVGs All In One Place With SVGator 3.0 — Smashing Magazine

Three years ago, we published a comprehensive introduction to the basic use of SVGator. At that time it was an app meant solely for animating SVG files created in other apps. Two years ago, we introduced you to a new version of SVGator and its improved animation capabilities. Today, we are taking a closer look at SVGator 3.0, a new major release of the popular SVG application that lets you create,

MDMikolaj Dobrucki·May 18, 2021Frontend
Performance — How We Improved Our Core Web Vitals (Case Study) — Smashing Magazine

How We Improved Our Core Web Vitals (Case Study) — Smashing Magazine

Google’s “Page Experience Update” will start rolling out in June. At first, sites that meet Core Web Vitals thresholds will have a minor ranking advantage in mobile search for all browsers. Search is important to any business, and this is the story of how Beau Hartshorne and his team at Instant Domain Search improved their Core Web Vitals scores. Plus, an open-source tool they’ve built along the w

BHBeau HartshorneBeau Hartshorne·May 17, 2021Performance
Performance — Tree-Shaking: A Reference Guide — Smashing Magazine

Tree-Shaking: A Reference Guide — Smashing Magazine

Since its early days, JavaScript programs have grown in complexity and the number of tasks they perform. The need to compartmentalize such tasks into closed scopes of execution became apparent. “Tree-shaking” is a must-have performance optimization when bundling JavaScript. In this article, we dive deeper on how exactly it works and how specs and practice intertwine to make bundles leaner and more

AFAtila FassinaAtila Fassina·May 14, 2021Performance
Engineering — Video uploads now available across GitHub

Video uploads now available across GitHub

As developers, the ability to collaborate through video (for example, pair programming, demos, etc.) is an extremely important part of a software workflow, especially for communities and teams that are…

LBLauren BroseLauren Brose·May 13, 2021Engineering
SRE & Ops — Running Border Gateway Protocol in large-scale data centers

Running Border Gateway Protocol in large-scale data centers

What the research is: A first-of-its-kind study that details the scalable design, software implementation, and operations of Facebook’s data center routing design, based on Border Gateway Protocol (BGP). BGP was originally designed to interconnect autonomous internet service providers (ISPs) on the global internet. Highly scalable and widely acknowledged as an attractive choice for routing, BGP […

MEMeta Engineering·May 13, 2021SRE & Ops
Career & Teams — Three Ways We Share Context at Shopify Engineering - Shopify

Three Ways We Share Context at Shopify Engineering - Shopify

To do your best work as a developer, you need context. A development community thrives when its members share context as a habit. That's why Shopify Engineering believes that sharing context is vital to our growth and success—as a company, as a team, and as individuals. Context is an abstract term, and we use it to refer to the why, what, and how of our development philosophies, approaches, and ch

SEShopify Engineering·May 13, 2021Career & Teams
SRE & Ops — Highly available and highly scalable Cloudflare tunnels

Highly available and highly scalable Cloudflare tunnels

Starting today, we’re thrilled to announce you can run the same tunnel from multiple different cloudflareds simultaneously. This enables graceful restarts, elastic auto-scaling, easier Kubernetes integration, and more reliable tunnels.

ACAdam ChalmersAdam Chalmers·May 12, 2021SRE & Ops
Frontend — Making Disabled Buttons More Inclusive

Making Disabled Buttons More Inclusive

Let’s talk about disabled buttons. Specifically, let’s get into why we use them and how we can do better than the traditional disabled attribute in HTML

SPSandrina PereiraSandrina Pereira·May 12, 2021Frontend
Languages — Designing Birthday Picker UX: Simpler Is Better — Smashing Magazine

Designing Birthday Picker UX: Simpler Is Better — Smashing Magazine

They are everywhere. Confusing and frustrating design patterns that seem to be chasing you everywhere you go, from one website to another. Perhaps it’s a disabled submit button that never communicates what’s actually wrong, or tooltips that — once opened — cover the input field just when you need to correct a mistake. In this new series of articles on UX, we take a closer look at some frustrating

VFVitaly FriedmanVitaly Friedman·May 12, 2021Languages
Engineering — Little Smashing Stories — Smashing Magazine

Little Smashing Stories — Smashing Magazine

Over a decade ago, we set out to send a [truly smashing newsletter](https://www.smashingmagazine.com/the-smashing-newsletter/) with useful tips and techniques for designers and developers. The first issue was sent out in early 2009. Today marks the day we sent out our 300th edition of the Smashing Newsletter. This article is a little celebration in which we share little Smashing stories from peopl

VFVitaly FriedmanVitaly Friedman·May 12, 2021Engineering
Security — Designing the new Cloudflare Web Application Firewall

Designing the new Cloudflare Web Application Firewall

The Cloudflare Web Application Firewall (WAF) protects websites and applications from malicious traffic attempting to exploit vulnerabilities in server software. It’s a critical piece of the broader security posture of your application.

SSyeefSyeef·May 11, 2021Security
Frontend — Next Gen CSS: @container

Next Gen CSS: @container

Chrome is experimenting with @container, a property within the CSS Working Group Containment Level 3 spec being championed by Miriam Suzanne of Oddbird, and a

UKUna KravetsUna Kravets·May 11, 2021Frontend
Frontend — CSS Pie Timer Re-Revisited

CSS Pie Timer Re-Revisited

Kitty reflected on an ancient blog post here on CSS-Tricks on how to make an animated pie timer. The old technique is still clever. The new technique is

CCChris Coyier·May 11, 2021Frontend