←back to thread

Less Htmx Is More

(unplannedobsolescence.com)
169 points fanf2 | 1 comments | | HN request time: 0s | source
Show context
DeathArrow ◴[] No.43619823[source]
I thought HTMX is useful mostly for SPA style apps. If you want a website with individual pages you can mostly use HTML and a bit of vanilla JS for the stuff that needs to be dynamically updated.
replies(2): >>43619854 #>>43619863 #
uzyn ◴[] No.43619854[source]
It's the other way around. HTMX is not suitable for client-side scripting heavy app like SPA. It's more for "traditional" AJAX-style web app.
replies(1): >>43621534 #
skydhash ◴[] No.43621534[source]
And if you’re not building a very interactive desktop app, you have no need for an SPA.
replies(1): >>43622075 #
DeathArrow ◴[] No.43622075{3}[source]
How would something like Facebook, Instagram, Netflix work and look if they weren't Spas?
replies(1): >>43623407 #
1. skydhash ◴[] No.43623407{4}[source]
There's nothing inherent to those sites that warrant SPAs. Things that do warrant SPA are full blown apps like Gmail, Figma, Google Maps,... or if you're building a desktop-like dashboard like Synology NAS's.