3 ms·
They're both server-render(e.g. django) oriented, am I right? SPA makes things complicated, server-render does not handle all user cases either, is there a mid
by synergy20 5y ago
They're both server-render(e.g. django) oriented, am I right?
SPA makes things complicated, server-render does not handle all user cases either, is there a middle ground: that I still can manipulate DOMs on the client side but not like SPA that goes all way in. That is, something likes jquery(the best/simplest API ever even after ES6), but with virtual-DOM. Not sure if Mithril etc fits the bill.
- recursivedoubts 5y agohtmx is SSR-oriented: it is all about exchanging hypermedia with a server, but making that more expressive so you can implement things like Active Search within that paradigm: https://htmx.org/examples/ https://htmx.org/examples/ hyperscript is a client side scripting DSL that attempts to improve on javascript/jquery with an event-and-DOM-oriented syntax: <input type="text" placeholder="Search..." _="on keyup if the event's key is 'Escape' set my value to '' trigger keyup else show <p/> in #quotes when its textContent contains my value">