Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I get these for when your stack contains python/go/ruby and your page is SSR. But more recently I've just come to enjoy the full blown Javascript Framework. I use Svelte exclusively, and the bundle sizes aren't too large thanks to the compiler. I can write TS which is way more comfortable than JS or even Python or Go IMO.


Yep.

Myself I am working with HTMX and thinking about how the back end framework changes to make the most of HTMX.

For instance I have a screen that has a bunch of dropdown inputs that automatically post changes to the server when you flip them and sometimes the options change when you flip them. The dropdown is defined in a macro that can be used in a template or that can be directly sent to the server. HTMX also can update several things in one request: for instance when I add a new RSS feed to YOShInOn it has to (1) insert the item into the feed, (2) tear down a modal dialog, and (3) update the count of the number of feeds. You very much need a server-side framework that makes it routine to do all that.


You can get small sizes, great DX, first-class TypeScript support, all without the compiler though.


But I like the compiler.


For the sake of a compiler? I'd rather not add complexity for complexity's sake. Or does it give you another advantage not mentioned above?


Well, I like the idea of a compiler, that doesn't include "the framework" as a bundle required to run my code, but bundles up my code itself as being functional without "the framework".




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: