~/talk

Rethinking the View Layer with Components

Talkat RailsConf 2019 · 2019-05-01..05-03· [ruby-on-rails]
slides:none on file

GitHub reworks ERB into a Ruby class pattern called ActionView Component that renders templates, captures block content, and uses ActiveModel validations to enforce required args (title, color). Tests move from ~6 seconds per controller-rendered case to over 240 times faster unit tests (~25 ms), SimpleCov now reports coverage for view logic, and components ship to production (repository topics and language badges) while keeping progressive enhancement with minimal JS. Primer UI tokens become reusable components.

AI-written summary · about

  1. 0:00Start
  2. 0:47Existing Ideas
  3. 3:26Browser Support
  4. 4:04Progressive Enhancement
  5. 5:06Primer Resources, tooling, and design quidelines for building interfaces with GitHub's design system
  6. 8:17Unit Testing
  7. 10:31Data Flow
  8. 17:37Implicit Arguments
  9. 26:40missing keyword: title
  10. 31:21Implementation
  11. 31:42Reusability
  12. 31:55Performance
  13. 32:28Creativity
  14. 32:59Standards
  15. 33:10Code Coverage
~/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.