Asosiy tarkibga o'tish

3 ta post "css-in-js" bilan

Hamma teglarni ko'rish

Why I Chose Emotion for My CSS Architecture

· 17 min. o'qish
Evan Carter
Evan Carter
Senior frontend

TLDR:

Emotion CSS

Emotion CSS offers a flexible, high-performance foundation for scalable CSS-in-JS architecture. In this deep-dive, I explain why I chose Emotion over styled-components, how to use @emotion/react and @emotion/styled effectively, and how to approach zero-runtime CSS—while aligning styling decisions with Feature-Sliced Design for long-term maintainability.

The Power of styled-components Architecture

· 8 min. o'qish
Evan Carter
Evan Carter
Senior frontend

TLDR:

Styled Components

Styled components redefine how modern React applications handle component styling through CSS-in-JS, enabling dynamic theming, scoped styles, and improved modularity. This article explores how to architect styled-components at scale and integrate them with Feature-Sliced Design (FSD) to achieve long-term maintainability, clear boundaries, and enterprise-level frontend structure.

Choosing a CSS Architecture for Scalability

· 9 min. o'qish
Evan Carter
Evan Carter
Senior frontend

TLDR:

CSS Architecture

Choosing the right CSS architecture is a critical step toward building scalable and maintainable frontend applications. This article explores popular approaches such as BEM, CSS Modules, CSS-in-JS, and Tailwind CSS, and explains how Feature-Sliced Design provides a structured, long-term solution for managing styles in large, evolving codebases.