Earlier quoted context omitted.
https://deno.com/blog/fresh-1.1#experimental-denoserve-suppo... Just use --unstable to enable it.
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 :)
Fresh 1.1 – Automatic JSX, plugins, DevTools, and more
41–50 of 57 posts
Re: Fresh 1.1 – Automatic JSX, plugins, DevTools, and more
#42I love the idea of eliminating lots of build boilerplate but I do ultimately want to output static assets for a read-only webpage.
Re: Fresh 1.1 – Automatic JSX, plugins, DevTools, and more
#43Re: Fresh 1.1 – Automatic JSX, plugins, DevTools, and more
#44Is Fresh primarily a server side rendering tool? Or might it be an option for static-ish webpages hosted by GitHub.io? I love the idea of eliminating lots of build boilerplate but I do ultimately want to output static assets for a read-only webpage.
For ahead of time static sites in Deno, check out Packup https://packup.deno.dev/
Re: Fresh 1.1 – Automatic JSX, plugins, DevTools, and more
#45Is Fresh primarily a server side rendering tool? Or might it be an option for static-ish webpages hosted by GitHub.io? I love the idea of eliminating lots of build boilerplate but I do ultimately want to output static assets for a read-only webpage.
It’s a server-side framework that delivers static content - but the static content is rendered just in time rather than ahead of time. For ahead of time static sites in Deno, check out Packup https://packup.deno.dev/
Thanks!
Re: Fresh 1.1 – Automatic JSX, plugins, DevTools, and more
#46Earlier quoted context omitted.
Are you behind a corporate firewall? Can you set `DENO_TLS_CA_STORE=system` and try again?
Is deno using a custom cert store by default? --- https://deno.com/blog/v1.13#use-system-certificate-store-for...
Re: Fresh 1.1 – Automatic JSX, plugins, DevTools, and more
#47Is Fresh primarily a server side rendering tool? Or might it be an option for static-ish webpages hosted by GitHub.io? I love the idea of eliminating lots of build boilerplate but I do ultimately want to output static assets for a read-only webpage.
It’s a server-side framework that delivers static content - but the static content is rendered just in time rather than ahead of time. For ahead of time static sites in Deno, check out Packup https://packup.deno.dev/
Re: Fresh 1.1 – Automatic JSX, plugins, DevTools, and more
#48Hey folks, author of Fresh here. Very excited for this rather significant release. Happy to answer any questions you may have :)
I really want to try fresh together with edgedb. Any chance a builtin authentication will be added soon? Or is there a recipe to implement something like auth0?
Re: Fresh 1.1 – Automatic JSX, plugins, DevTools, and more
#49I've been writing a simple single page form app the past few days and I like Fresh a lot. I really appreciate the simplified project layout vs my last setup of a react app project nestled in a parent express project. It just makes the devops, if you would even called it that, of writing a one-person full stack app easier. Deno running TypeScript without a compile to JS adds to this. I'm happy to see the Preact Signal…
Re: Fresh 1.1 – Automatic JSX, plugins, DevTools, and more
#50Earlier quoted context omitted.
Isn't className custom DSL in React? Vue's concepts in the v-* are more pleasant than the React way, imho. Learning a bit of DAL is not a blocker for me, given how many tools already require this
No, `className` is the DOM property exposed to JavaScript that corresponds to the `class` attribute in HTML: https://developer.mozilla.org/en-US/docs/Web/API/Element/cla...