~/talk

Styles & SASSy: Choosing the Right React Styling Solution

Talkat React Miami 2025 · 2025-04-17..04-18· [react, css]
slides:none on file

Comparing CSS Modules, Tailwind v4 and styled‑components by implementing the same button (primary/secondary/empty, disabled, loading, icon, sizes) reveals concrete tradeoffs: Tailwind now ships CSS‑first config and a faster engine (up to 3.5× full builds, 8× incremental), CSS Modules give zero runtime cost and SSR friendliness, and styled‑components shows runtime overhead and context limits with React 19 (useFormState, useOptimistic, server components). The repo contains the three implementations and Tailwind emerges as the pragmatic default for speed and scalable design systems.

AI-written summary · about

  1. 0:00Introduction and context
  2. 2:07State of React styling in 2025
  3. 4:09CSS modules overview
  4. 5:13Tailwind CSS explained
  5. 6:40Styled components deep dive
  6. 7:41React 19’s impact on styling
  7. 10:31Styled components leaving the chat
  8. 11:35Tailwind V4’s major changes
  9. 13:18Modern CSS features
  10. 15:03Button demo setup
  11. 16:06CSS modules in practice
  12. 18:13Tailwind implementation
  13. 20:41Styled components demo
  14. 22:03Making the styled components choice
  15. 23:25How to choose a styling method
  16. 25:53Final recommendations and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.