~/talk

Building a theming system with React

Talkat Codemotion Amsterdam 2017 · 2017-05-16..05-17· [react, component-design]
github:cef62
slides:none on file

Reveals a concrete theming engine that stores themes as plain JS maps, exposes them via a React context provider and a connect HOC, and compiles theme objects to CSS using Aphrodite today with plans for TypeStyle. Supports both component-based and atomic theme categories, per-component or per-modal runtime theme swapping, server-delivered per-user theme JSON, aggressive caching, and a pluggable postprocessor pipeline. Runs in a large app (~20k lines of JS, ~300–400 components) with no observed rendering slowdown.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 1:41Modern web and component architecture
  3. 8:22Styling approaches in React
  4. 12:17Requirements for theming system
  5. 15:07Theme manager design
  6. 20:41Connecting components to themes
  7. 27:13Performance and caching
  8. 31:59Pluggable post-processors
  9. 33:05Live demo and example
  10. 35:54Q&A and performance impact
~/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.