Hotwire, which seems to be short for (H)tml
(O)ver (T)he (Wire), is a collection of frameworks just announced by
Basecamp that work together to help build “traditional”
server-rendered web applications that look and feel to users like
modern, Single-Page Applications (SPAs) built in React, Angular, Vue or
other frontend frameworks. Basecamp’s CTO put out a blog
post on why he believes
in Hotwire, but most of the justification seems to be handwavy claims
that JavaScript is inherently “complex,” never mind that Ruby’s
syntax and dynamic type system can be just as head-scratching to a
newcomer. I think that Basecamp’s built a really interesting tool, and
a better argument for Hotwire can be made by fully engaging with the
benefits that SPA “thick
clients” bring to
the table, their specific shortcomings, and all the different ways
framework developers are trying to address those shortcomings today.