Styling React/ReactNative Applications
summary
Claims that styling should drop the class-name mapping and embed real CSS inside JavaScript using tagged template literals, producing components that compile to unique class names and inject styles into the head. Shows a working library, styled-components, with server rendering support coming soon, a theme provider for nested themes, and React Native support via styled-components/native. Demonstrates prop-driven styles, runtime interpolation, and that the system compiles, ships only used CSS, and is already used in production.
AI-written summary · about
chapters (7)
- 0:00Intro
- 1:28Component Age
- 2:55Best Practices
- 5:24Containers and Components
- 10:57Style Components
- 21:11Styling ReactNative
- 26:11Questions
related talks
04mThe Road to Styled Components
30mStyled-components: Styled-components Enforcing best practices
31mThe road to <💅> styled-components" CSS in component-based systems"
22mStyled Components
16mStyling your React js components for reuse
47mThe road to styled components, and the road ahead
29mStyling Components for React UI Kits
44mWriting styles for React components
