hhmx.de

Les Orchard

· Föderation EN Fr 07.02.2025 00:09:41

I think I'm just kind of fighting upstream against the node.js / Typescript happy path? Because I'm not using any of the combined frontend / backend magical mishmash frameworks like next.js.

Kind of want a pretty distinct backend and a minimal frontend built with Web Components. That doesn't seem to be the current flavor in node-world

Les Orchard

Föderation EN Fr 07.02.2025 00:11:59

If I'm being totally honest, I don't really enjoy the weird magical isomorphic javascript webdev world all that much after a few years living in it.

Feels like it makes a lot of things hard to reason about. Blurs some boundaries, interfaces, and contracts that feel better when a bit more distinct. But might just be me.

Evan Prodromou

Föderation EN Fr 07.02.2025 00:14:42

@lmorchard I am on your side on this. I much prefer Express for API, and a separate Web Components front end. They are not the same and that is OK.

Brooke Vibber :neocat_cofe:

Föderation EN Fr 07.02.2025 00:20:22

@lmorchard i kinda wanna do my next personal web project _aggressively_ using web components. it feels like a good level of abstraction that actually fits in the html world and doesn't force you into any giant framework

i can even use them on nice hand-written static sites

Les Orchard

Föderation EN Fr 07.02.2025 00:22:09

@evan @brooke Yeah, web components are pretty great these days. Especially for, like, islands of functionality.

I've done some toy side projects in the past year or two with just pulling in lit-html as a utility belt and it's felt pretty nice