Hacker News new | ask | show | jobs
by sdevonoes 1470 days ago
> The key here is no building (packing, bundling, transpiling).

How is that possible? In the documentation (https://fresh.deno.dev/docs/getting-started/create-a-route) I see .tsx files... so I imagine that at least one needs to compile TS to JS and then JSX to JS. Perhaps I got that wrong, though and browsers nowadays support TSX out of the box.

1 comments

It's using the Deno runtime, not Node. Deno has a TS compiler built-in, thus not requiring you to set anything up in that regard.
Thanks. I didn't know that.