Tagged articles
CSS-in-JS
22 articles · Page 1 of 1

21CTOOct 1, 2026 · Frontend Development
GitHub completed a three-year migration from CSS-in-JS to CSS Modules, reducing server-side rendering time by 55% and component initialization by 25%, using feature flags, visual regression testing, and gradual rollout to migrate 7,760 sx prop usages across 8 engineers and later GitHub Copilot.
CSS ModulesCSS-in-JSFrontend Migration
0 likes · 6 min read

The article announces that styled-components has moved to maintenance mode due to React API changes and shifting frontend trends, analyzes why usage is declining, and presents emerging atomic CSS frameworks and other modern styling alternatives for new React projects.
CSS-in-JSTailwindalternatives
0 likes · 6 min read

The article details a complete redesign of Feishu’s cloud‑document‑to‑HTML‑email converter, introducing IoC/DI architecture, inline‑style utilities, and specialized renderers for headings, lists, tables, images, code blocks, and equations, resulting in high‑fidelity Outlook‑compatible emails while shrinking the core code to under three hundred lines.
CSS-in-JSFeishuHTML email
0 likes · 31 min read

This article examines the evolution of Ant Design's theming—from the less‑based Antd 4.x approach to the CSS‑in‑JS design‑token system in Antd 5.x—analyzes the performance trade‑offs of CSS‑in‑JS, and presents the official antd‑style solution for high‑performance, extensible, and compatible style overrides.
Ant DesignCSS-in-JSFrontend Development
0 likes · 18 min read

This article explains the principles of Atomic CSS, discusses its advantages and drawbacks, shows how Facebook’s open‑source Stylex implements Atomic CSS with Babel, and demonstrates practical usage patterns such as stylex.create, stylex.props, defineVars, and createTheme to improve front‑end performance and maintainability.
CSS-in-JSStyleXatomic CSS
0 likes · 16 min read

This article explains how Ant Design's CSS‑in‑JS implementation uses server‑side rendering and a hash‑based cache to avoid runtime style generation, dramatically improving performance for both application‑level and component‑level styling.
Ant DesignCSS-in-JSCache
0 likes · 6 min read

The article examines why a Lazada front‑end team is questioning the switch from the long‑standing Alibaba Fusion component library to Ant Design, analyzing design quality, iteration speed, performance, stability, ecosystem impact, CSS‑in‑JS trends, and the overall cost of migration.
CSS-in-JSUIant-design
0 likes · 10 min read

Ant Design 5.0 introduces a component‑level CSS‑in‑JS approach that caches stable hashes per component, eliminating costly serialization on each render, improving performance compared to other libraries, while noting its limitations for general application development.
Ant DesignCSS-in-JSComponent Caching
0 likes · 7 min read

Ant Design V5’s CSS‑in‑JS architecture enables powerful dynamic theming, allowing developers and designers to implement global theme algorithms, partial theme overrides, component‑level styling, and seamless multi‑theme compositions, illustrated with real‑world applications, code snippets, and visual comparisons across light and dark modes.
Ant DesignCSS-in-JSReact
0 likes · 13 min read

The article explains CSS‑in‑JS fundamentals, examines styled‑components’ source code—including its styled function, createStyledComponent factory, and runtime style injection—compares it with emotion, demonstrates a simple SolidJS MVP implementation, and discusses the technique’s rise, limitations, and possible compile‑time or atomic‑CSS future.
CSS-in-JSImplementationReact
0 likes · 11 min read

This article explores the inner workings of styled-components, examines its core source code, and demonstrates how to build a lightweight CSS‑in‑JS library for SolidJS, while discussing the benefits and drawbacks of CSS‑in‑JS approaches in modern front‑end development.
CSS-in-JSReactSolidJS
0 likes · 12 min read

This article analyzes various CSS styling approaches for React component libraries, comparing CSS‑JS association methods and naming‑conflict solutions, and offers guidance on selecting the most suitable strategy based on development workflow, performance, SSR support, and maintainability.
CSSCSS-in-JSReact
0 likes · 21 min read

This article explores essential CSS optimization strategies—including shorthand properties, selector merging, semantic class naming, property ordering, parent selector references, and modern methodologies like BEM, Atomic CSS, preprocessors, PostCSS, and CSS-in-JS—while providing practical code examples and tool recommendations for cleaner, more maintainable front‑end styles.
BEMCSSCSS-in-JS
0 likes · 15 min read


21CTOFeb 12, 2022 · Frontend Development
From Svelte’s rapid rise and its compiler‑based performance edge to the enduring strength of React, Vue, and Angular, this article surveys 2022 front‑end trends, compares static versus dynamic rendering, and highlights optimization tools like Tailwind and Linaria, offering practical code snippets for modern web development.
CSS-in-JSSvelteperformance
0 likes · 7 min read

The article explains broken-css, a zero‑runtime, atomic CSS‑in‑JS library inspired by linaria and stylex, detailing its design, installation, API, compilation process, support for pseudo‑classes, @‑rules, CSS variables, and integration with webpack and VSCode, while also providing code examples and performance benefits.
CSS-in-JSLinariaStyleX
0 likes · 11 min read

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

This article traces the evolution of CSS from its early specifications to modern CSS‑in‑JS approaches, examines CSS design patterns and Houdini APIs, compares preprocessors with CSS‑in‑JS, outlines popular libraries, discusses advantages and drawbacks, and looks ahead to cross‑platform and automated design integration.
CSSCSS-in-JSHoudini
0 likes · 19 min read

This article traces the evolution of CSS from its early specifications through modular standards, design patterns, and preprocessors, then dives deep into CSS‑in‑JS, Houdini, popular libraries, their advantages and drawbacks, industry adoption, and future directions for web styling.
CSSCSS-in-JSHoudini
0 likes · 19 min read


ByteFEJan 25, 2021 · Frontend Development
This article outlines the decision‑making process for styling, icon, dark‑mode, RTL, and global configuration choices when building a custom front‑end component library, comparing Sass/Less, Atomic CSS, CSS‑in‑JS, various icon strategies, and implementation patterns for maintainability and scalability.
CSS-in-JSRTLcomponent library
0 likes · 18 min read


Aotu LabJul 1, 2020 · Frontend Development
Taro 3 introduces full cross‑framework support for React, Nerv, Vue 2/3 and jQuery‑like APIs, expands to major mini‑program platforms and H5, adds an open plugin system, prerendering, faster builds, CSS‑in‑JS via linaria, virtual list components and a seamless WeChat‑to‑React/Vue conversion tool.
CSS-in-JSTaROcross-framework
0 likes · 11 min read


Aotu LabMay 26, 2020 · Frontend Development
The Taro Next Beta and RC releases introduce H5 compilation, seamless conversion of WeChat mini‑programs to React or Vue, a robust HTML rendering API, CSS‑in‑JS via Linaria, a built‑in VirtualList component, plugin support, and an RFC‑driven path toward a stable version.
CSS-in-JSH5TaRO
0 likes · 9 min read


政采云技术Dec 15, 2019 · Frontend Development
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
