MAKING JAVASCRIPT GREAT AGAIN IN RAILS
summary
Explains how Rails stops avoiding front-end work by integrating a real JS toolchain: replaces jquery-rails and augments Sprockets to support ES6 modules, wires in webpack and Yarn, and ships the resulting adapter webpacker as the Rails 5.1 default. Describes rewriting parts of Sprockets to avoid global-only assets, the decision to support modern transpilers (CoffeeScript/Babel), and that the integration actually lands and works in production apps.
AI-written summary · about
chapters (10)
- 0:00Introduction and speaker intro
- 1:06History of JavaScript in Rails
- 3:34Prototype and jQuery in Rails
- 7:16Rails 3.1 and asset pipeline
- 11:22Challenges and early fixes
- 13:08Rails 4.0 and Turbolinks
- 16:44Bower and npm integration attempts
- 19:18Rebuilding JavaScript in Rails
- 22:52Webpacker and modern JavaScript
- 23:59Embracing JavaScript in Rails
related talks
34mFrom Sprockets to js-bundling: Evolution of JavaScript tooling in Rails!
32mModern JavaScript, without giving up on Rails Jonathan Johnson
32mUsing JavaScript from the Future in Your Rails App Today
32mWebpacking for the Journey Ahead
21m6 degrees of JavaScript on Rails
52mRails X
40mRails 5.1: Awesome Features and Breaking Changes
29mRails Asset Pipeline: Defunct or Da Funk
