~/talk

ViewComponents in the Real World

Talkat RailsConf 2021 · 2021-04-12..04-15· [component-design, ruby-on-rails]
slides:none on file

Claims concrete wins: adoption of ViewComponent built on Rails 6.1, migration at GitHub that quadruples component usage, and unit tests that are ~100x faster than controller tests. Describes tools and infra: a custom ERB compiler turned Rails flag, static-analysis toolchain (parser gem, rubocop), Storybook previews, matrix CI for multi‑Ruby/Rails coverage. Gives numbers—hundreds to thousands of views, dozens of services, measurable perf savings (100 ms saved) and rollout practices.

AI-written summary · about

  1. 0:00Start
  2. 4:02Architecture
  3. 4:37Controller - System
  4. 5:55Seeds vs. test setup
  5. 9:57Downsides
  6. 11:15Standards
  7. 15:22Complexity
  8. 19:48Storybook
  9. 21:04Refactoring
  10. 22:45Performance
  11. 23:02Organizational
  12. 28:45Empathy
  13. 29:52Test coverage
  14. 33:04Relevance
  15. 33:50Extractors
~/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.