~/talk

Composition vs Configuration: How to Build Flexible, Resilient and Future-proof Components

watch on portal.gitnation.org ↗https://portal.gitnation.org/contents/composition-vs-configuration-how-to-build-flexible-resilient-and-future-proof-components
Talkat React Summit 2022 · 2022-06-17..06-21· [component-design, react]

Compares two ways to design React components—composition (building UIs from multiple components and passing props) and configuration (using context and variant props to control styling and behavior). Shows using the Context API for variant-based styling and how to add variants and icons by consuming variant context. Describes combining composition and configuration to get flexibility without lots of conditional logic.

AI-written summary · about

~/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.