~/talk

React.js on Rails

Talkat RailsConf 2015 · 2015-04-21..04-23· [react, ruby-on-rails]
slides:none on file

Argues that React lets Rails keep server rendering while adding only the JavaScript needed, demonstrates shipping a feature in an hour, and shows concrete tooling: react-rails gem for the view helper and UJS mounting, react-rails-assets to pull NPM/Bower libs into gems, and embracing JSX/ES6 rather than CoffeeScript. Builds a real-time comments container that polls every second, uses setState/getInitialState and virtual DOM diffs to update only the new rows, and shows a Services live app clock and chat working in production.

AI-written summary · about

  1. 0:00Intro
  2. 1:37Services
  3. 2:05BatmanJS
  4. 5:38Pull Request
  5. 7:13First Goal
  6. 7:33Second Goal
  7. 7:56What is React
  8. 8:15React Partials
  9. 9:42React Component
  10. 14:15React Comments Container
  11. 22:47React Rails Gem
  12. 25:13Asset Pipeline
  13. 26:24CoffeeScript
  14. 29:08Embrace JSX
  15. 30:08Outro
~/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.