Hotwire and Htmx – Same Principles, Different Approaches

(radanskoric.com)

1 points | by ksec5 hours ago

2 comments

  • zoezoezoezoe5 hours ago
    I still think that HTML over the wire, regardless of your approach is ludicrous, given that HTMX and Hotwire have 15kb or 20kb of JavaScript minified and compressed respectively, you can do a lot more with 15k in JS than fetch and replace html from the server, hell, HTMZ proved that you dont need anywhere near as much for the basic features HTML over the wire provides you with. No matter how you do it, unless you do some level of complex prefetching (which at that point just use a UI library or handroll something, I have a reactive library that is ready to be used for interactive UI rendering with 663 bytes unminified but compressed https://raw.githubusercontent.com/RebootJS/reboot-poc/refs/h...) if you use HTML over the wire, you will give your users a bad experience.
  • 5 hours ago
    undefined