3 ms·
Absolutely this- Saying that the complexity of modern web dev is needless without even addressing things like state management, URL routing, component encapsula
by rezonant 5y ago
Absolutely this- Saying that the complexity of modern web dev is needless without even addressing things like state management, URL routing, component encapsulation, stylesheet encapsulation, performance, compatibility, semantic markup, offline-first, server-side rendering (for SEO and first paint) are somehow not real problems that need to be addressed. If you don't do it in the frontend, guess what? All of that is happening in the backend, too.
People seem to act like those problems just "go away" when you don't do SPA but it doesnt.
- naasking 5y agoHalf of those things you list are already handled by the browser, that's why htmx is so simple. Htmx does not preclude building an SPA, because all resources can be directed through service workers, but that's outside of the scope of htmx specifically. It just directs you to use hypermedia and exploit native browser technologies instead of inventing ad-hoc JS libraries and/or protocols.
- rezonant 5y agoNo, they are handled by your server app. The point is these things can be on one side or the other.