Re:Fresh 1.1 – Automatic JSX, plugins, DevTools, and more
by rough-sea on Thursday September 08, 2022 @10:58AM
(#32766565)
https://deno.com/blog/fresh-1.1#experimental-denoserve-suppo...
Just use --unstable to enable it.
Re:Fresh 1.1 – Automatic JSX, plugins, DevTools, and more
by lucacasonato on Thursday September 08, 2022 @12:00PM
(#32767507)
You also need to pass a `experimentalDenoServe: true` option in the options bag passed to `start()` in your `main.ts` file.
I forgot to add this to the post initially. Have retroactively added it now :)
Re:Fresh 1.1 – Automatic JSX, plugins, DevTools, and more
by MarkBennett on Thursday September 08, 2022 @01:26PM
(#32768720)
Are there any benchmarks with the new server yet? Would be keen to see how it compares to the existing server as benchmarking on my machine showed a significant improvement over the existing http server in stdlib.
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