3 ms·
Rewriting the entire asset pipeline like 3 times since Rails 3.x has really killed my enthusiasm for using Rails for server side rendering.
by faitswulff 3y ago
Rewriting the entire asset pipeline like 3 times since Rails 3.x has really killed my enthusiasm for using Rails for server side rendering.
- gls2ro 3y agoJust to put this into perspective to other people: Rails 3 was released in 2010 Rails 7 was released in 2022 Considering the speed of change in JS and CSS in 12 years I am pretty haply with only 3 big changes.
- pelasaco 3y agoYes, i don't like to fight against the assets pipeline, but to be honest, I just went from Sprockets to Propshaft and never tried to use Webpacker.. you can even still use Sprockets with rails 7, so you could use the whole time, plain Sprockets and you would be doing fine.
- faitswulff 3y agoThat’s fair, I guess I’m comparing it to how stable the controller and Active Model APIs have been. I wish Rails had taken a more hands off approach and let the frontend community plug in their own approaches to tooling instead of taking opinionated stances and then rolling them back after a while. I understand that Rails is “omakase” but I had to learn the frontend tooling, anyway, and the Rails versions are different enough to invalidate that learning.