3 ms·
I’m so glad Rails 7 is moving away from all the js circus. Good riddance
by pelagicAustral 5y ago
I’m so glad Rails 7 is moving away from all the js circus. Good riddance
- throw_m239339 5y agoRails 7 got rid of turbolinks and co?
- pelagicAustral 5y agoWebpacker is gone. Turbolinks is now Turbo from The Hotwire stack and js libs are managed through Import Maps.
- christophilus 5y agoEh. The last gemfile I looked at didn’t seem much better than my package.json. It’s amazing how many dependencies a legacy Rails app can pull in.
- toomanybeersies 5y agoA big difference between the rubygems and npm ecosystems is that most gems tend to have a lot less dependencies themselves that JS packages do. Looking at a Rails project I've got open, it has ~100 gems in the Gemfile, and 200 gem dependencies overall. Compare that to one of the Typescript + React projects I work on, which has ~200 dependencies in package.json and 2300 packages in node_modules.