~/talk

React on Rails

Talkat RailsConf 2017 · 2017-04-25..04-27· [react, ruby-on-rails]
links:none on file
slides:none on file

Eighteen months of incremental migration turns a Rails app from untested jQuery spaghetti into a componentized UI using React + JSX with Babel and Webpack (hot reload), CSS modules, and Jest tests and snapshot testing; source maps force splitting Webpack assets out of Sprockets and ultimately replacing Sprockets via webpack-manifest, adding Redux, React Router, React Motion and Immutable.js. Outcomes: ~50-person product team, 10 dev teams, a quarter of the app experimenting with Elm, and an embarrassing 15 different button styles to consolidate.

AI-written summary · about

  1. 0:00Start
  2. 12:05Default Rails Asset Pipeline
  3. 13:11Adding Webpack - Step 1
  4. 15:31Registering and Rendering React Components
  5. 17:53Testing Component Output with Shallow Rendering
  6. 19:01Testing Component Output with Snapshot Tests
  7. 19:48Introducing CSS Modules
  8. 20:51Getting rid of Sprockets
  9. 22:27Adding Single Page Transitions
  10. 27:33Using Defined Record Types
~/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.