DHH's most recent hotwire update...
I just caught a tweet from DHH mentioning a new hotwire related pull request. I'm curious to know how the go rails community feels about this. Seems like most of my projects nowadays rely on some sort of javascript dependency handled by webpacker. Has anyone gone full asset pipeline + hotwire?
This will be nice for simpler applications that don't need a lot of JS dependencies. You'll be able to ship all your Javascript really quickly and easily. This will be great for Stimulus controllers and other basic code.
Evan You who created Vue and Vite had some comments on it: https://twitter.com/youyuxi/status/1425933472871456777
He's specifically referring to larger frontend applications and I think those are valid points where Webpacker, Vite, or an alternative will still be the best option.
So it sounds like it depends on what you need. Importmaps will be perfect for applications that don't have a ton of frontend dependencies. I think Rails has always pushed for minimal JS, so it makes sense to use importmaps out of the box.