The Lonely and Dark Road to Styling in React
summary
Compares plain CSS, Sass preprocessors, CSS modules plus PostCSS (postcss‑preset‑env) and styled-components with concrete tooling: webpack loader chains, CSS-loader options modules:true and camelCase, server side stylesheet collect for SSR, ThemeProvider theming and runtime conditionals. Reports tradeoffs: componentized classes and easy theming vs extra dependencies, harder SSR (FOUC risk) and lost inspectable class names. Slides at https://dark-css.now.sh
AI-written summary · about
chapters (10)
- 0:00Start
- 2:30YOU CAN MAKE AMAZING THINGS WITH CSS
- 2:48BUT YOU CAN ALSO MAKE HORRIBLE THINGS
- 3:09LET'S WALK THE ALLEY TOGETHER
- 3:23THE DARK AND LONELY ROAD TO STYLING IN REACT
- 4:57NEVER FORGET THAT 1500 LINES CSS FILE
- 20:50SERVER SIDE RENDERING?
- 29:35IT ALL DEPENDS ON WHAT IT'S USED FOR
- 30:20USE WHAT MAKES YOU CODE FASTER AND BETTER
- 30:36LET'S BRING GEOCITIES BACK !
related talks
29mThe Lonely and Dark Road to Styling in React
34mCSS in React
25mStyled and SASSy: Choosing the Right React Styling Solution
21mStyling your CSS with Reason
07mReact Components and How To Style Them
29mHow to style in React and not lose friends
47mThe road to styled components, and the road ahead
57mPanel Discussion - Styling in CSS
