Remix.run Logo
shams93 4 hours ago

The power of web components is having the ability to develop complex front end without the need for a build tool in 2026. In 2008 when I got started with heavy javascript jquery was a must have tool to fill in for all the horrible browser api incompatibilites at the time. But because we are just developing custom elements with vanilla it works fine with vue and rust and all the others.

austin-cheney 4 hours ago | parent [-]

I write in vanilla TypeScript. I do not have any build step in my application. Since Node now supports native type stripping I don't have a compile step either. I just write my code and then point node at the main file, and this even includes front-end code for the browser.

thisoneisreal 3 hours ago | parent [-]

Can you explain more about how the front end aspect works? I'm not clear how the front end code could by TypeScript without a build step, unless I'm misreading.

austin-cheney 2 hours ago | parent [-]

Node strips types on all imported code regardless of where that code executes.

root_axis 2 hours ago | parent [-]

Node doesn't run in the browser.

umvi an hour ago | parent [-]

Presumably Node is the server (back end), and when the browser requests a TS file, Node is stripping the types before serving it to the browser.

root_axis an hour ago | parent [-]

That presumption is wrong, and doesn't quite make sense if you think about it.