What is HotWire?

HowWire is a new way to think about Rails apps that are based on “dumb terminals,” meaning most of the business logic lives on the server (in the cloud) closest to where we render views. That way, we don’t have to have layers and layers of abstraction to serialize and manipulate data in Javascript. Web developers can focus on writing web content and let Turbo and Hotwire worry about the implementation details of how things get loaded into the browser, how navigation works, and advanced stuff like cache considerations. That’s the core philosophy behind Hotwire.

It turns out “dumb terminals” isn’t a great name, because the frontend (terminal) happens to be very smart, and HotWire is built with a number of extremely sophisticated features: