Stop Using CustomEvent

By Chris Coyier on

A satisfying little rant from Justin Fagnani: Stop Using CustomEvent. One point is that you’re forcing the consumer of the event to know that it’s custom and you have to get data out of the details property. Instead, you can subclass Event with new properties and the consumer of that event can pull that data […]

Vite+

By Chris Coyier on

Probably worth keeping an eye on Vite+ (still in “early access”). They say it’s “everything you’ve been duct-taping together” which feels actually kinda fair when you consider this has “dev, build, test, lint, format, monorepo caching & more in a single dependency.” So even if you’re using Vite anyway, perhaps you’d get to ditch Jest […]

Browserslist & Baseline

By Chris Coyier on

I saw Tony Conway & Jeremy Wagner’s post on web.dev, Use Baseline with Browserslist, and I had a little play with it myself (saved live stream). Allow me to write down what I know and what I learned. So here’s Browserslist. Browserslist is the developer community at it’s best. There are a bunch of tools […]

A person at the other end

By Chris Coyier on

Code is ephemeral. What works right now might get deleted next month. That is no judgement on the code, it is a statement that code isn’t the value prop, the product is. I try and remember this during code review, because even though we call it code review, there is a person at the other […]

The Scope Creep

By Chris Coyier on

The Scope Creep: Pretty fun(ny) Choose Your Own Adventure style game Assume the role of a humble project manager, tasked with delivering a website brief for one of your agency’s clients. Unbeknownst to you, the project is cursed by a dark force determined to infinitely extend the job, and send you into a delirious state […]

Affinity, Free

By Chris Coyier on

When people complain about Photoshop or other various Adobe products and the subscription model they require (The Onion had a good one), people tend to reply with two options: But now, Affinity is free (and all the varieties combined into one app). You can thank the Canva acquisition for that. You might think that would […]

View Transitions Feature Explorer

By Chris Coyier on

It’s a generally good thing to know that browser support for browser features isn’t always quite a simple as yes or no. There can be sub-features involved as things evolve that roll out in browsers at different times. View Transitions is an example of that going on right now. There are “Same-Document View Transitions” supported […]

Junior Dev Tip: “Scroll Up”

By Chris Coyier on

Alex Riviere shares a quick story of a junior developer not looking in the right places for error messaging that would directly help them. … the tools do provide you with information most of the time. You genuinely just need to take a few extra seconds and read what it is saying.