~/talk

How to structure, style and document components for maximum effectiveness

Talkat React Finland 2021 · 2021-08-30..09-03· [react, component-design]
linkedin:dragosbln
slides:none on file

Starts with a concrete repo layout: ui vs containers where containers hold all logic and screens receive props so UI bugs and logic bugs live in one place. UI uses three levels: primitives components screens so buttons and inputs are reusable primitives, components combine them, screens assemble pages. Styling relies on styled-components and styled-system to declare styles via props and defaults. Documentation is a simple screenshot markdown catalog mapping component name path and image that takes ~15 seconds to update.

AI-written summary · about

  1. 0:00Intro
  2. 2:15How to structure your code
  3. 4:15Containers
  4. 5:45Style Components
  5. 6:30Style System
  6. 9:20Styling Components
  7. 10:40Documentation
  8. 13:50Conclusion
~/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.