~/talk

From Sprockets to js-bundling: Evolution of JavaScript tooling in Rails!

Talkat RubyConf India 2023 · 2023-08-26..08-27· [ruby-on-rails, javascript]
name:Vipul AM
linkedin:vipulamler
slides:none on file

Timeline traces Prototype/Scriptaculous → jQuery → Rails 3.1 sprockets/asset pipeline (adds bundling, digesting) → Turbolinks → rise of React + Babel + Webpack → Webpacker (later Shakapacker) → ES modules and import maps and Hotwire → option of JS bundling and CSS bundling with esbuild/rollup for heavier apps. Recommendation: use import maps for simple monoliths, JS/CSS bundling for moderate JS needs, Shakapacker or API+SPA for very heavy React single‑page apps.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:08Rails JavaScript tooling overview
  3. 2:57Pre-asset pipeline era
  4. 8:18Asset pipeline and Sprockets
  5. 12:10Turbolinks and modern interactions
  6. 13:54Rise of React and Webpack
  7. 18:28Webpacker and its challenges
  8. 21:17HTTP/2 and JavaScript evolution
  9. 23:46Import maps and Hotwire
  10. 26:11JS and CSS bundling alternatives
  11. 27:37Choosing the right approach today
  12. 29:01Q&A on admin templates and Rails APIs
~/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.