Live data from Hacker News

Fresh 1.1 – Automatic JSX, plugins, DevTools, and more

deno.com

1–10 of 57 posts

Re: Fresh 1.1 – Automatic JSX, plugins, DevTools, and more

#3

Hey folks, author of Fresh here. Very excited for this rather significant release. Happy to answer any questions you may have :)

Terrific update! You resolved the only two pain points I'd experienced (`tw` template literal and JSX pragma stuff).

Out of curiosity: does the support for automatic JSX incur any startup or deployment penalty? I'd assumed Deno didn't have a "build step" per se, but maybe I'm mistaken.

Re: Fresh 1.1 – Automatic JSX, plugins, DevTools, and more

#4

Hey folks, author of Fresh here. Very excited for this rather significant release. Happy to answer any questions you may have :)

I'd be interested to see a more built in solution for Markdown and MDX, as with Astro or NextJS, since I've been mainly using either for blog type websites and I'd love to use Fresh as well.

Re: Fresh 1.1 – Automatic JSX, plugins, DevTools, and more

#5
post #3

Hey folks, author of Fresh here. Very excited for this rather significant release. Happy to answer any questions you may have :)

Terrific update! You resolved the only two pain points I'd experienced (`tw` template literal and JSX pragma stuff). Out of curiosity: does the support for automatic JSX incur any startup or deployment penalty? I'd assumed Deno didn't have a "build step" per se, but maybe I'm mistaken.

Nope, no startup penalty. It is just as performant as the classic JSX pragma. The actual JavaScript that is executed by the runtime is pretty much identical.

Re: Fresh 1.1 – Automatic JSX, plugins, DevTools, and more

#7

Hey folks, author of Fresh here. Very excited for this rather significant release. Happy to answer any questions you may have :)

How big is the “team” working on Fresh? Is there a primary product which it spawned off of (the demo website?)?

Re: Fresh 1.1 – Automatic JSX, plugins, DevTools, and more

#8
Great update! I wonder if Fresh plans to use Deno's (new) HTTP server[1]. Benchmarks for that look incredible (compared to Express).

Off-topic but how does the video[2] under Preact Dev Tools look so sharp yet only weight 43KB? Edit: nevermind, the downloaded file's 2.9MB. Must be something up with Chrome's network tab.

[1]: https://deno.com/blog/v1.25#new-experimental-http-server-api

[2]: https://deno.com/fresh-1.1/preact_devtools.mp4

Re: Fresh 1.1 – Automatic JSX, plugins, DevTools, and more

#9
post #8

Great update! I wonder if Fresh plans to use Deno's (new) HTTP server[1]. Benchmarks for that look incredible (compared to Express). Off-topic but how does the video[2] under Preact Dev Tools look so sharp yet only weight 43KB? Edit: nevermind, the downloaded file's 2.9MB. Must be something up with Chrome's network tab. [1]: https://deno.com/blog/v1.25#new-experimental-http-server-api [2]: https://deno.com/fresh-1.1/…

https://deno.com/blog/fresh-1.1#experimental-denoserve-suppo...

Just use --unstable to enable it.

Post reply on HN