~/talk

"React integration into existing Rails applications"

Talkat RubyC 2017 · 2017-06-03..06-04· [react, ruby-on-rails]
links:none on file
slides:none on file

Covers three options: use the react-rails gem for quick insertion, use react_on_rails for full server rendering and npm module support, or build a client/webpack approach (client folder, package.json, webpack entry/output) that generates a bundle consumed by the asset pipeline. Shows passing Rails data as JSON props into a global mount method in an inline script, advises moving build deps into dependencies for Heroku, and explains migrating from ERB hybrid pages to a SPA + Rails API and optional server-side rendering.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:31Three ways to integrate React
  3. 4:04Why choose React
  4. 7:49Custom React setup in Rails
  5. 10:16Legacy app integration challenges
  6. 13:23Webpack configuration basics
  7. 15:57Passing data from Rails to React
  8. 19:25Final custom integration example
  9. 21:58Benefits of separate client app
  10. 23:23Future steps and Q&A
~/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.