Remix.run Logo
thisoneisreal 3 hours ago

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.