News for hackers. Stuff that matters.
Re:Hotwire: A new old way to build web apps by nerdywordy on Thursday January 28, 2021 @11:21PM (#25953865)
I'm totally sold on server rendered, HTML over the wire web apps. What I'm not sold on is websockets for the transport layer.

Unless you truly need real-time, I'd argue that something like HTMX (https://htmx.org) is a much simpler and more reliable route. Simple HTTP calls keep the request stateless and give architectural freedoms that shouldn't be taken for granted.

Re:Hotwire: A new old way to build web apps by marckohlbrugge on Thursday January 28, 2021 @11:44PM (#25954031)
Most of Hotwire uses regular HTTP requests. Web sockets are only used for broadcasting real-time updates. (Basically anything you’d traditionally use polling for.)