by oezi · 2y ago · 0 comments
The options and combination are too many, the work to change something too great for the single developer. It is okay if you want to use Tailwind or Bootstrap.
I confess I don't get what importmaps really do (how can they get rid of the need to precompile js assets?).
At least 5 built-in ways of doing JavaScript. And there are many more outside that, of course. None of these is Rails' "fault". That's the world of JavaScript, how it is.
As for the assets - Sprockets or Propshaft. The latter will replace Sprockets in new Rails versions.
And frankly importmaps or the other possible aproaches are not so hard to understand. Any serious developer should be able to learn that. It's also not a Rails thing, it's just web
Also the Asset Pipeline stack is getting even lighter nowadays since with CSS nesting and other new features you can drop SASS completely
the complexity of the app is greatly reduced as a result.