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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Hono v4.0

181 点作者 MrAlex94超过 1 年前

14 条评论

carstenhag超过 1 年前
Nowhere there&#x27;s any explanation of what this is. Web standard? Fast? Workers?<p>Ok, but what is it doing? How can it help me? The snippets subpage is empty. The examples have code directories with almost empty readmes.
评论 #39315747 未加载
评论 #39315743 未加载
评论 #39317926 未加载
评论 #39316464 未加载
评论 #39316156 未加载
surprisetalk超过 1 年前
I&#x27;m using Hono and Deno for <a href="https:&#x2F;&#x2F;flashcasts.com" rel="nofollow">https:&#x2F;&#x2F;flashcasts.com</a><p>Hono + Postgres.js is getting pretty close to my ideal web stack.<p>IMO, SSR websites is the best way to get projects out quickly: predictable &quot;builds&quot;, minimal surface area, boring tech, etc.<p>It helps that Hono has a very clean API :)
评论 #39314565 未加载
评论 #39315744 未加载
arminluschin超过 1 年前
I only ever used hono as a simple convenience router for my cloudflare functions. This feels ambitious. I’m a bit skeptical if this is the right direction frankly, I hope it doesn’t make the framework too bloated.
评论 #39314697 未加载
评论 #39314939 未加载
评论 #39314216 未加载
评论 #39314152 未加载
评论 #39314608 未加载
评论 #39318715 未加载
joshstrange超过 1 年前
Hono looks very cool but in my experience you can quickly run out space in your lambda (package size) when you bundle your whole application together verses having each endpoint be it’s own package.<p>Am I wrong or have others experienced this as well? Just having 1 package (to deploy vs 1 per endpoint) would be super nice in a number of ways and you could take advantage of things like provisioned concurrency (something much more difficult to plan for when you have a lambda per endpoint).<p>Maybe I’ll just branch my main project and see what happens as I move my code into a monolith with Hono but I’d love some feedback if others have experienced this and&#x2F;or how they worked around it.<p>I guess you could still have multiple Hono-based packages that handle segments of your backend (verses all in one), is this how people are managing it?
评论 #39317200 未加载
评论 #39315373 未加载
评论 #39314890 未加载
_heimdall超过 1 年前
I&#x27;ve used deno + hono and a basic file-based router for a few projects now. The biggest win IMO is avoiding a build step, I hope HonoX and the hono project in general don&#x27;t start walking down the same path as others, using Vite for a required build and bundle step.<p>Astro already solves many of the problems HonoX will run into, if a build step with Vite is acceptable for you. What I personally really want is an easy way to deploy exactly what I have locally and keep my dependencies small enough that shipping it unbundled isn&#x27;t a problem for your project.
评论 #39332700 未加载
评论 #39314519 未加载
reactordev超过 1 年前
This is awesome! The server-side, the page gen, the router, jsx on the backside, outstanding work!<p>In webdev, I’ve been a huge fan of vite since it came out. Not having to wrangle configurations and bundlers and everything was very welcome. I wrapped it all up into a useful internal tool to play nice with our packages and splice together express+vite frontend. Then koa+vite. After playing with bun, I’m very keen on stack setups with convention over configuration (with config options) to just do the typescript thing, do esm, do it well.<p>I’m going to give this a go this weekend and see if this can replace our setup. Bun+Vite(React-TS)+Koa.
pbronez超过 1 年前
Never heard of this, took some digging to figure out what it is. Best blurb I found was in the docs, not the homepage:<p>Hono - [炎] means flame in Japanese - is a small, simple, and ultrafast web framework for the Edges. It works on any JavaScript runtime: Cloudflare Workers, Fastly Compute, Deno, Bun, Vercel, Netlify, AWS Lambda, Lambda@Edge, and Node.js.
postepowanieadm超过 1 年前
Hono, Bun and SQLite are soo boring - I love it.
评论 #39327332 未加载
pdyc超过 1 年前
I am using it to build <a href="https:&#x2F;&#x2F;easyanalytics.win" rel="nofollow">https:&#x2F;&#x2F;easyanalytics.win</a> . Honojs is a nice framework for routing. I chose it because i was working on cloudflare functions and i did not wanted to tie my application to cf way of doing things. By using honojs i can use it in both serverless as well as server-full settings without any changes. However i am not liking the current direction this project is taking its becoming too bloated.
评论 #39323835 未加载
rozenmd超过 1 年前
I rewrote OnlineOrNot&#x27;s API to use Hono + Zod (almost a drop-in replacement for Express), and got an OpenAPI schema out of it for very little additional work.<p>I highly recommend it, and wrote more about it here: <a href="https:&#x2F;&#x2F;onlineornot.com&#x2F;built-my-http-docs-from-scratch#converting-openapi-schemas-to-markdown" rel="nofollow">https:&#x2F;&#x2F;onlineornot.com&#x2F;built-my-http-docs-from-scratch#conv...</a>
davidy123超过 1 年前
Would this be a sort of holy grail product, where we could write once for &#x27;edge&#x2F;function&#x2F;lambda&#x27; systems? I am helping develop a new project that will be hosted on Azure, but would really like to make it as cloud portable as possible, including a cloud-free version. It is a significant product for a government agency, and it will be open source. I really want to get this piece right. Thanks!<p>[edit] I notice Azure support is under development. But the time frame could be ok if it has good tests &amp; the project is well supported.
cacozen超过 1 年前
I know AWS&#x27;s LLRT was just announced, but it would be great if this would support it. (For reference: <a href="https:&#x2F;&#x2F;github.com&#x2F;awslabs&#x2F;llrt">https:&#x2F;&#x2F;github.com&#x2F;awslabs&#x2F;llrt</a>)
Kennnan超过 1 年前
I use hono a lot and im going to avoid these new features for certain. Hono already had a problem with documentation and feature completeness for anything beyond their simple REST api, such as their middlewares like graphql and RPC. The jump in complexity from a meh graphql plugin to a full stack SSR framework is so massive and I don&#x27;t think the current dev team can do it justice.<p>I highly recommend anyone looking into this to instead stick with larger, better community supported projects like Astro.
评论 #39314720 未加载
cranberryturkey超过 1 年前
how does this compare to primatejs?