7 ms·
Nope why?
by qaq 5y ago
Nope why?
- Vinnl 5y agoI'm pretty up-to-date on front-end developments but Hotwire is barely on my radar, so I had to look up the release date, but it seems to have been released just this year? (I thought it was last year.) Though my stack has certainly evolved, it's been mostly the same since 2016, with really not that much new to learn. Adopting something released just this year doesn't seem like the most obvious choice when looking for a stable stack.
- qaq 5y agoIt's a tiny lib that replaced turbolinks from DHH and the gang. It's used for many prod deployments and it's pretty convenient for people who do not enjoy FE SPA style dev. There are obviously other options.
- d3nj4l 5y agoHotwire is just a name for a bunch of tech that has been around for a while. The components of Hotwire - Turbo and stimulus - have improved over time, for sure, but the core ideas haven't changed much, if at all. I worked on a hotwire side project recently and described it to a friend as "writing Rails like it was 2009." It feels really good because I've always found it hard to grok SPAs and the like, but could generate tolerable server-side generated webapps. Old wine in a new bottle, basically.
- qaq 5y agoEven if it is not hard to grok it's often unnecessary complexity as users literally can not tell the diff. in most cases.
- dghlsakjg 5y agoHotwire and a few analogues (e.g. LiveView for Phoenix) are an emerging design pattern. I think for a lot of business cases they are going to replace js frameworks. They are domain specific (Rails, Phoenix, etc..), but they allow you to essentially replace a lot of SPA functionality with a library that takes an afternoon to grok for a back-end dev. They won't replace React, Vue, etc... But they can replace it in places where a full js framework is overkill (which is probably a majority of the places that I see it). As a backend dev, I think that they have incredible promise. They make interactivity MUCH easier.
- qaq 5y agoHotwire is lang/framework agnostic.