The website for an Indian restaurant I'm visiting later (https://lastdaysoftheraj.com/), open in Brave on Android. The screen is completely blank; and Brave has detected that, while the site itself is being delivered kver HTTPS, external content is being delivered unencrypted.
you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 1 year ago (2 children)

https://htmx.org/ solves the problem of full page loads. Yes, it's a JavaScript library, but it's a tiny JS library (14k over the wire) that is easily cached. And in most cases, it's the only JavaScript you need. The vast majority of content can be rendered server side.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 9 points 1 year ago (1 child)

    While fair, now you have to have JavaScript enabled in the page which I think was the point. It was never able having only a little bit. It was that you had to have it enabled

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 1 year ago

    Yes, it is unfortunate that this functionality is not built-in to HTML/browsers to begin with. The library is effectively a patch for the deficiencies of the original spec. Hopefully it can one day be integrated into HTML proper.

    Until then, HTMX can still be used by browsers that block third party scripts, which is where a lot of the nasty stuff comes from anyway. And JS can be whitelisted on certain sites that are known to use it responsibly.

  • source
  • parent