Flux on Rails: rethinking the assets pipeline and frontend architecture
summary
A Ruby on Rails frontend architecture using React and Flux is demonstrated through a hotel‑booking UI (card list, booking form, interactive Google Map) wired via Actions → Dispatcher → Stores → Views. The build pipeline uses Browserify initially and then webpack for multiple bundles and fast rebuilds, enables server‑side rendering with the react‑rails gem, and testing with Jest. The talk claims the approach yields fast development (hours/days), fewer long‑running UI bugs, and production readiness.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 4:57Why Flux for Rails
- 7:09React components in practice
- 15:41From components to hotel list
- 19:16Store and app state
- 23:36Actions and dispatcher in Flux
- 27:50Unidirectional flow and updates
- 31:18Rails and Webpack integration
- 33:49Webpack benefits on Rails
- 38:25Convincing your boss
related talks
31mReact.js on Rails
31mReact on Rails
36mFront-End Sadness to Happiness: The React on Rails Story
46mHow I learned to stop worrying and loved the flux
58mFrontin' like a Back-er
25m"React integration into existing Rails applications"
07mBuilding Real-Time App with React/Redux/Rails/RethinkDB
35mFrontendless Rails frontend
