Re:HTML First – Six principles for building simple, maintain...
by andybak on Sunday November 12, 2023 @08:11PM
(#38245798)
Sounds like we're agreeing with each other and disagreeing with the big SPA framework guy?
[ Parent
| on HN ]
Re:HTML First – Six principles for building simple, maintain...
by MrJohz on Monday November 13, 2023 @12:39AM
(#38247331)
I mean, I am a big SPA framework guy. That's pretty much the main thing I use, day-in, day-out, because most of the projects I'm working on are complex enough that simply hand-coding the entire UI will not work.
And, while only a minority of projects are that complex, those projects are the ones most developers are working on. Most other projects are probably better served with a wordpress install and a bit of theme customisation. Which means it's going to be a minority of developers who work with the very minimal things that are sufficient in these sorts of cases.
Re:HTML First – Six principles for building simple, maintain...
by kugelblitz on Monday November 13, 2023 @12:53PM
(#38252984)
Are you writing that complex projects need SPA, everything else is better served with Wordpress?
I've used SPA frameworks, but try to avoid it if I can, because most of the logic is in the backend. I don't want to create and sync API interfaces, have 1-2 additional contexts (JS + frontend framework) and debug an extra layer.
With htmx I can now have interactivity via the backend. I use Alpine.js for some interactivity.