~/talk

CSS module system in Google+

Talkat JSConf EU 2013 · 2013-09-14..09-15· [css, frontend-architecture]
slides:none on file

Google+ implements a CSS module system that actually reduces initial CSS bytes by shipping a minimal set and late‑loads the rest, bundles HTML CSS and JS into component dependency graph modules, and flattens that graph to a deterministic cascade so late pages never regress earlier pages. It uses GSS (closure stylesheets) plus closure templates and a simple @require/@provide dependency syntax, enforces correctness with compiler passes and tests, and reports significant performance improvements on rolled‑out pages.

AI-written summary · about

  1. 0:00Start
  2. 15:53Overrides for a button
  3. 19:52Component Dependency Graph
  4. 20:23How to override styles of a shared component ? • Firstly, correct order with dep graph • Add additional classes Plumb class into component's template Prefered if component almost always needs
  5. 21:24Dependency Syntax is Enforced
  6. 23:10Serving System Requirements
~/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.