Hacker News new | past | comments | ask | show | jobs | submit login

Turbo[links], Stimulus, etc. ARE non-blocking background updates. It's HTML over the wire instead of JSON. [1] I don't think this is what you think it is.

[1] https://hotwire.dev/




since when is HTML lighter than JSON?! this use case was what propelled JSON into the mainstream.


The argument is that it is lighter for the device just to receive static HTML, than it is for the device to receive JSON and build HTML templates.


The idea is that HTML is just slightly heavier but the advantage is you can render it on the server and don't need all that middleware and serialization layer.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: