Category: css modules

Deletability

Kelly Sutton has written a post called Deletability and I’ve been thinking about it all day and how his ideas relate to writing CSS:By working with code, we see that modularity and deletability are closely related. Properly modularized code is easy to delete. Writing deletable code is writing good code.Appare...

CSS Modules and React

In this final post of our series on CSS Modules, I’ll be taking a look at how to make a static React site with the thanks of Webpack. This static site will have two templates: a homepage and an about page with a couple of React components to explain how it works in practice.Article Series Part 1: What are CSS Modu...

Getting Started with CSS Modules

There isn’t one single approach with CSS Modules to making the JavaScript templates, the CSS files, or the build steps to make them work. In this post, which is part of a series on CSS Modules, we’ll look at one approach. The goal of this post is to get a CSS Modules project up and running.Article Series Part...

What are CSS Modules and why do we need them?

I’ve been intrigued by CSS Modules lately. If you haven’t heard of them, this post is for you. We’ll be looking at the project and it’s goals and aims. If you’re intrigued, stay tuned, as the next post will be about how to get started using the idea. If you’re looking to looking to imple...