Tom Smykowski beta

Blog

Should I use CSS BEM with Angular? part I

Should I use CSS BEM with Angular? part I

Hi, my name is Tom Smykowski, I'm a staff full-stack engineer. I build and scale SaaS platforms to millions of users, working end-to-end from system architecture to frontend to mobile. On this blog I share what I learn about software engineering methodologies and their fit within modern frameworks.

What This Article Covers

In this article, we explore the applicability of the CSS BEM methodology within Angular projects. We examine the core principles of BEM, its intended benefits, and the potential conflicts that arise when integrating it with Angular's component-based architecture. Additionally, we discuss alternative strategies that align better with Angular's best practices.

Questions This Article Answers

  • What is CSS BEM and what are its core principles?
  • How does BEM's philosophy align or conflict with Angular's architecture?
  • Are there scenarios where BEM might still be beneficial in an Angular project?
  • What are alternative practices for managing CSS in Angular applications?
  • How can adopting Angular-specific strategies improve component architecture?

Length and Time

A thoughtful exploration with practical insights. Approximately 7 minutes to read.

Want to unlock the full story? Log in

← All posts