A collection of thoughts about HTML, CSS, JavaScript, UX, a11y, web standards, and related things. Posts by Cory LaViska.


If Edgar Allan Poe was into Design Systems

Written on

Once upon a midnight dreary, while I pondered, weak and weary,
Over many a quaint and curious system of design and lore—

Web Components Are Not the Future — They’re the Present

Written on

It’s disappointing that some of the most outspoken individuals against Web Components are framework maintainers. These individuals are, after all, in some of the best positions to provide valuable feedback. They have a lot of great ideas!

Component Machines

Written on

Components are like little machines. You build them once. Use them whenever you need them.

Styling Custom Elements Without Reflecting Attributes

Written on

I've been struggling with the idea of reflecting attributes in custom elements and when it's appropriate. I think I've identified a gap in the platform, but I'm not sure exactly how we should fill it.

Reflection and Custom States in Web Components

Written on

In the Web Component world, attribute reflection is commonly used to style custom elements both internally and as public APIs for consumers. If you're not familiar, attribute reflection occurs when an attribute in the DOM is updated due to changes in a corresponding property.

Anchoring Software to Major Versions

Written on

In a SemVer world, major releases are those which contain incompatible API changes. We often see software projects anchor themselves to major versions for long periods of time, usually with the promise of stability.

Building Custom Elements With a Library

Written on

I often get asked why I use Lit to build web components. Hands down, it's become my preference after years of working with various libraries and tools. Here's why I use it.

Design Systems Are An Investment

Written on

It's hard to put a value on a design system. It's a lot easier to add up the costs of said design system, especially in terms of salaries and development time. It's even easier to target a design system as the thing that's holding up a product from getting delivered.

How to File a Bug Report

Written on

They say there's no such thing as bug-free code. When problems arise, creating a minimal reproduction will give you the best chance of a speedy resolution.

Thoughts on Framework Churn

Written on

I often worry about framework churn. A lot. But using a framework isn't a bad thing. After all, they save time. They help you build things faster.

Feeds available in Atom & JSON


Explore the archive for additional posts or press / to search.