6 degrees of JavaScript on Rails
summary
Lists six concrete gradations from Unobtrusive JavaScript up to a full single page app and shows the tools and patterns used at each step: Rails data-method and confirm for deletes, a copy-to-clipboard Stimulus controller with feature detection and graceful fallback, moving from jQuery soup to organized assets and Web Packer, sprinkling React components by rendering into divs, client-side routing inside a page, and hosting an /admin SPA via simple Rails forwarding — examples compile and run and expose where complexity spikes.
AI-written summary · about
chapters (11)
- 0:006 degrees of JavaScript on Rails
- 1:12Michael Crismali
- 6:47jQuery and/or Widgets
- 7:33jQuery by Example
- 9:01Structure and Stimulus
- 12:19A Sprinkling of a Framework
- 14:30Framework Pages
- 16:37Single Page App(s) in Rails
- 17:19Rails Routes and Template
- 18:18The Degrees
- 19:39Resources
related talks
32mModern JavaScript, without giving up on Rails Jonathan Johnson
25mMAKING JAVASCRIPT GREAT AGAIN IN RAILS
36mRails is Obsolete (But So's Everything Else)
31mReact.js on Rails
34mYour Front End Framework is Overkill - Server Side Javascript w/ Rails
34mFrom Sprockets to js-bundling: Evolution of JavaScript tooling in Rails!
25mRails frontend: 10 commandments and 7 deadly sins in 2025
31mReact on Rails
