214 subscribers
Go offline with the Player FM app!
Unstyled React components
Manage episode 434298984 series 1635850
Sam and Ryan talk about the pattern of building unstyled components with React. They discuss why unstyled components were created, how they improve upon composition patterns from UI libraries like Bootstrap, how they can be used to share behavior and logic without prescribing any styling opinions, and how they fit into a larger collection of React patterns that can be used to build more powerful components that avoid premature abstractions.
Timestamps:
- 0:00 - Intro
- 1:36 - What are unstyled components?
- 2:24 - How do unstyled components improve upon earlier patterns?
- 6:44 - Why would you want to use an unstyled component?
- 9:58 - How can you compose an unstyled component with a styled component?
- 16:41 - How to decide which pattern is best suited for the code you want to share
- 19:36 - Using patterns that preserve React's locality of behavior
- 24:49 - How do you know if an abstraction is good?
- 32:54 - Build UI's upcoming course on Advanced React Component Patterns
Links:
201 episodes
Manage episode 434298984 series 1635850
Sam and Ryan talk about the pattern of building unstyled components with React. They discuss why unstyled components were created, how they improve upon composition patterns from UI libraries like Bootstrap, how they can be used to share behavior and logic without prescribing any styling opinions, and how they fit into a larger collection of React patterns that can be used to build more powerful components that avoid premature abstractions.
Timestamps:
- 0:00 - Intro
- 1:36 - What are unstyled components?
- 2:24 - How do unstyled components improve upon earlier patterns?
- 6:44 - Why would you want to use an unstyled component?
- 9:58 - How can you compose an unstyled component with a styled component?
- 16:41 - How to decide which pattern is best suited for the code you want to share
- 19:36 - Using patterns that preserve React's locality of behavior
- 24:49 - How do you know if an abstraction is good?
- 32:54 - Build UI's upcoming course on Advanced React Component Patterns
Links:
201 episodes
Alla avsnitt
×

1 Creating a background gradient from an image 48:39


1 Cloudflare Tunnel | React Compiler | refs during render 42:46


1 useAnimatedText | Events vs. State Changes | Catalyst 1:08:19






1 Crossover: Declaring War Against the Frontend 59:17


1 Blog Post Club: Queueing - An interactive study of queueing strategies 46:27


Welcome to Player FM!
Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.