3 ms·
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,
by nerdywordy 6y ago
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 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.
- marckohlbrugge 6y agoMost of Hotwire uses regular HTTP requests. Web sockets are only used for broadcasting real-time updates. (Basically anything you’d traditionally use polling for.)