TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

195 点作者 gripfx超过 2 年前

11 条评论

lucacasonato超过 2 年前
Hey folks, author of Fresh here. Very excited for this rather significant release. Happy to answer any questions you may have :)
评论 #32766222 未加载
评论 #32768309 未加载
评论 #32766439 未加载
评论 #32766280 未加载
评论 #32767120 未加载
评论 #32766682 未加载
gibbonsrcool超过 2 年前
I'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 Signals demo to help manage state between islands in 1.1. Thank you for this great framework. :)
评论 #32773666 未加载
评论 #32767704 未加载
评论 #32767512 未加载
winrid超过 2 年前
Wow, great work! One question - isn't doing the tailwind processing on every page load pretty CPU intensive? Could you foresee opting-in to that as a build step in the future?
TeffenEllis超过 2 年前
Fresh looks seriously cool! I&#x27;m especially fond of the plugins concept for bringing in compiled assets like Markdown and SCSS. And Getting started with a `deno run` command is very exciting for new-comers too!<p>Shameless-self promotion: I&#x27;ve been working on a similar web framework built on Deno and Cloudflare Workers. It&#x27;s called Keywork[1] and it&#x27;s made for folks who would like to create web apps for the V8 runtime, without getting too attached to a single cloud provider.<p>Keywork has powered all my projects as of recently, but Fresh looks like a serious contender. I would love to chat with the Deno team if they&#x27;re floating around this HN thread! You&#x27;re creating amazing stuff!<p>- [1] <a href="https:&#x2F;&#x2F;keywork.app" rel="nofollow">https:&#x2F;&#x2F;keywork.app</a>
评论 #32783919 未加载
obviyus超过 2 年前
Great update! I wonder if Fresh plans to use Deno&#x27;s (new) HTTP server[1]. Benchmarks for that look incredible (compared to Express).<p>Off-topic but how does the video[2] under Preact Dev Tools look so sharp yet only weight 43KB? Edit: nevermind, the downloaded file&#x27;s 2.9MB. Must be something up with Chrome&#x27;s network tab.<p>[1]: <a href="https:&#x2F;&#x2F;deno.com&#x2F;blog&#x2F;v1.25#new-experimental-http-server-api" rel="nofollow">https:&#x2F;&#x2F;deno.com&#x2F;blog&#x2F;v1.25#new-experimental-http-server-api</a><p>[2]: <a href="https:&#x2F;&#x2F;deno.com&#x2F;fresh-1.1&#x2F;preact_devtools.mp4" rel="nofollow">https:&#x2F;&#x2F;deno.com&#x2F;fresh-1.1&#x2F;preact_devtools.mp4</a>
评论 #32766565 未加载
robofanatic超过 2 年前
I just ran this and got a bad cert error. How should I fix it?<p>deno run -A -r <a href="https:&#x2F;&#x2F;fresh.deno.dev" rel="nofollow">https:&#x2F;&#x2F;fresh.deno.dev</a> my-project<p>Sending fatal alert BadCertificate error: error sending request for url (<a href="https:&#x2F;&#x2F;fresh.deno.dev&#x2F;" rel="nofollow">https:&#x2F;&#x2F;fresh.deno.dev&#x2F;</a>): error trying to connect: invalid peer certificate contents: invalid peer certificate: UnknownIssuer
评论 #32767835 未加载
brundolf超过 2 年前
Anybody here used Fresh for a non-toy project yet? Have anecdotal experiences to share?
评论 #32768010 未加载
redonkulus超过 2 年前
Is it easy to support other CSS frameworks? I haven’t checked the docs yet.
aitchnyu超过 2 年前
Is there a plan to allow Vue (and other frameworks) on Fresh? I&#x27;m also looking at Prisma+Deno issue for my dream stack.
Waterluvian超过 2 年前
Is Fresh primarily a server side rendering tool? Or might it be an option for static-ish webpages hosted by GitHub.io?<p>I love the idea of eliminating lots of build boilerplate but I do ultimately want to output static assets for a read-only webpage.
评论 #32768880 未加载
AbraKdabra超过 2 年前
I seriously cannot wrap around my head how in 2022 people really like JSX and all that X-in-JS crap, it&#x27;s like people doesn&#x27;t know about separation of concerns or clean code at all.
评论 #32767016 未加载
评论 #32768016 未加载
评论 #32767061 未加载
评论 #32767030 未加载
评论 #32768337 未加载