Tagged articles
13 articles
Page 1 of 1
JavaScript
JavaScript
Sep 6, 2025 · Frontend Development

12 Proven Techniques to Eliminate CSS Style Conflicts

This article presents twelve practical methods—including BEM naming, CSS Modules, Shadow DOM, @scope, custom properties, and dynamic generation—to dramatically reduce CSS style collisions and achieve reliable style isolation in modern front‑end projects.

BEMCSSCSS Modules
0 likes · 4 min read
12 Proven Techniques to Eliminate CSS Style Conflicts
DeWu Technology
DeWu Technology
May 21, 2025 · Frontend Development

From Hand‑Written CSS to Atomic CSS: Evolution, Pain Points, and Modern Solutions

The article examines the drawbacks of writing raw CSS, explains how preprocessors, naming conventions, modular approaches, CSS‑in‑JS, and atomic‑CSS frameworks like Tailwind and UnoCSS address redundancy, maintenance, and scalability, and provides best‑practice recommendations for modern front‑end development.

CSSCSS ModulesCSS Preprocessor
0 likes · 26 min read
From Hand‑Written CSS to Atomic CSS: Evolution, Pain Points, and Modern Solutions
JavaScript
JavaScript
Jan 23, 2025 · Frontend Development

12 Proven Techniques to Eliminate CSS Style Conflicts

Discover twelve effective strategies—including BEM naming, CSS Modules, Shadow DOM, @scope rule, and dynamic style generation—to dramatically reduce CSS conflicts and achieve robust style isolation in complex front‑end projects, complete with code examples and visual illustrations.

BEMCSSCSS Modules
0 likes · 4 min read
12 Proven Techniques to Eliminate CSS Style Conflicts
JD Tech Talk
JD Tech Talk
Oct 23, 2024 · Frontend Development

Master CSS Engineering in Vite: Global Styles, Modules, and Windi CSS

This guide explains how to improve CSS maintainability and performance in Vite projects by adding global SCSS variables, using CSS Modules, configuring PostCSS autoprefixer, and integrating the Windi CSS atomic framework with attributify and shortcuts, complete with code examples.

CSS EngineeringCSS ModulesVite
0 likes · 7 min read
Master CSS Engineering in Vite: Global Styles, Modules, and Windi CSS
Sohu Tech Products
Sohu Tech Products
Sep 25, 2024 · Frontend Development

From Tailwind CSS to SASS: A Frontend Technology Selection Case Study

After initially adopting Tailwind CSS for rapid UI development in a React real‑time chat app, our team reverted to SASS combined with CSS Modules because the growing utility‑class markup hurt readability, increased build times, and bloated the CSS bundle, ultimately delivering a more maintainable codebase and noticeably better performance.

CSS ModulesReactSass
0 likes · 8 min read
From Tailwind CSS to SASS: A Frontend Technology Selection Case Study
ByteDance ADFE Team
ByteDance ADFE Team
May 13, 2021 · Frontend Development

CSS‑in‑JS in React: Problems with Traditional CSS, Various Styling Approaches and Comparison of Popular Solutions

The article explains why traditional global CSS is problematic for component‑based development, reviews several ways to write styles in React—including BEM‑constrained classNames, inline styling, CSS Modules and css‑loader—then introduces CSS‑in‑JS concepts, demonstrates the Emotion library, compares popular packages and offers practical recommendations for choosing a styling solution.

CSS ModulesEmotionfrontend
0 likes · 15 min read
CSS‑in‑JS in React: Problems with Traditional CSS, Various Styling Approaches and Comparison of Popular Solutions
ELab Team
ELab Team
Apr 1, 2021 · Frontend Development

From CSS Modules to Tailwind: Solving Large-Scale Frontend Styling Challenges

The article examines the evolution of CSS for large projects, compares CSS Modules, CSS‑in‑JS, and Tailwind CSS, highlights their benefits and drawbacks, and provides practical code examples and design‑token strategies for modern component‑based front‑end development.

CSSCSS ModulesCSS-in-JS
0 likes · 11 min read
From CSS Modules to Tailwind: Solving Large-Scale Frontend Styling Challenges
Baidu App Technology
Baidu App Technology
Jan 28, 2021 · Frontend Development

Inside san-loader: How San Files Are Split, Compiled, and Integrated in Webpack

This article provides a deep technical walkthrough of san-loader, explaining how the Baidu‑developed San framework’s .san files are parsed, split into template, script and style sections, processed by san-loader‑plugin, and finally compiled into browser‑ready code with support for options like compileTemplate, esModule, and CSS Modules.

CSS Modulesfrontendloader
0 likes · 18 min read
Inside san-loader: How San Files Are Split, Compiled, and Integrated in Webpack
政采云技术
政采云技术
Dec 15, 2019 · Frontend Development

How to Write CSS Elegantly in React

This article examines the problem of global CSS scope pollution in React components and presents three practical solutions—namespaces, CSS‑in‑JS, and CSS Modules—detailing their implementation, advantages, and trade‑offs, with code examples and guidance on when to use each approach.

CSSCSS ModulesCSS-in-JS
0 likes · 11 min read
How to Write CSS Elegantly in React
Tencent Cloud Developer
Tencent Cloud Developer
Sep 6, 2019 · Frontend Development

Exploration and Practice of Frontend Engineering

The article examines modern frontend engineering by detailing its four‑stage lifecycle—development, testing, deployment, maintenance—and reviewing modularization of JavaScript and CSS, component‑based frameworks and Web Components, code and workflow standardization, automation tools, and a real‑world migration to ES6 modules, Rollup, CSS Modules, Jest, and CI pipelines.

CSS ModulesComponentizationJest
0 likes · 40 min read
Exploration and Practice of Frontend Engineering
Hujiang Technology
Hujiang Technology
Jan 10, 2017 · Frontend Development

Scaling React Applications: Containers vs Components, Feature‑Based Code Organization, CSS Modules, PostCSS Auto Reset, and Redux‑Saga

This article shares lessons learned from releasing React Boilerplate 3.0, covering the importance of front‑end scalability, the distinction between container and presentational components, feature‑based code organization, CSS Modules and PostCSS Auto Reset for style isolation, and using redux‑saga for readable, testable asynchronous flows.

CSS ModulesFrontend ArchitectureReact
0 likes · 9 min read
Scaling React Applications: Containers vs Components, Feature‑Based Code Organization, CSS Modules, PostCSS Auto Reset, and Redux‑Saga