Front-End Sadness to Happiness: The React on Rails Story
summary
Claims a practical integration: a react on Rails gem that wires Rails views to Webpack-built JS, registers components, and enables server rendering and Redux/React Router support. Installation runs a few commands (bundle, yarn, generator) and a demo app boots. Uses Webpack/Yarn/ES6, outputs manifest.json to public, supports hot reload and CI-tested integration suites, and runs back to Rails 3/Ruby 2.1. Production adopters include projects that migrated from Angular and consumer apps that now work as intended.
AI-written summary · about
chapters (15)
- 0:00Start
- 1:54The Rails Doctrine
- 5:30Consumer App
- 8:28React Native
- 9:38The React-Rails Gem
- 10:11React Bootstrap
- 13:29Recap
- 18:56Why Make a Gem
- 20:55Server Rendering
- 21:50Spec Integration
- 22:37Basic over Philosophy of React and Rails
- 23:48Migrating Angular Angular in Rails Projects To React
- 26:26Add React on Rails to the Gem
- 31:08Happiness
- 31:42Integration Tests
related talks
31mReact.js on Rails
25m"React integration into existing Rails applications"
31mReact on Rails
23mRails Frontend Evolution: It Was a Setup All Along
18mReact-ing to Rails: Why Ruby on Rails is the best Stop for Web Developer
32mModern JavaScript, without giving up on Rails Jonathan Johnson
28mBack to React: The Story of Two Apps
34mFrom Sprockets to js-bundling: Evolution of JavaScript tooling in Rails!
