How I Organize My Stylesheets | The Spicy Web
An excerpt from my upcoming course for The Spicy Web on how to write modern, maintainable vanilla CSS using sound architectural principles, slated for release in January 2023.
There are only two hard things in Computer Science: cache invalidation and naming things. – Phil Karlton Yeah, we’ve all heard this line before. But like with many truisms, there’s actually a lot of truth to this. Naming things (and cache invalidation for that matter) can be quite challenging. Some people like finding solutions where they don’t have to name things. Or at least the names can be more practical and immediate, less philosophical and “big picture”. A function name like gonculateWidgetData makes sense if you’re writing a function to, well, gonculate the widget data. Right?? If you h
related reading
- Crafting the Next.js Websiterauno.me
- Building a Design System from scratch - The Blog of Maxime Heckelblog.maximeheckel.com
- A Complete Guide to CSS Concepts and Fundamentalstania.dev
- Understanding Layout Algorithms • Josh W. Comeaujoshwcomeau.com
- The Design of This Websiteturntrout.com
- Designing Systems | Atomic Design by Brad Frostatomicdesign.bradfrost.com
- The Importance of Learning CSS • Josh W. Comeaujoshwcomeau.com
- How to write complex softwaregrantslatton.com
- The CSS behind Figmaishadeed.com
- Get better at programming by learning how things workjvns.ca
- TailwindCSS: Adds complexity, does nothing. - DEV Communitydev.to
- Tao of React - Software Design, Architecture & Best Practices | Alex Kondovalexkondov.com