Replies: 4 comments 5 replies
-
I have the same issue with tinaCMS. That library creates a I want to be able to use hono for the routing but it always fails with I believe this could be avoided if the |
Beta Was this translation helpful? Give feedback.
-
Hi @tlaziuk @EthanShoeDev Thanks! Hi @usualoma ! If you have a time, please see this issue? |
Beta Was this translation helpful? Give feedback.
-
How about the following solution? How about the following solution? I think this approach would solve this problem without compromising performance on general requests. I understood that there are cases where one does not want to return a response from HONO, either in migration from an existing application or in special coordination with another application. However, on the other hand, I believe that Hono does not want to recommend this kind of usage that strongly depends on the Node.js API. Therefore, the PR above requires a rather long and verbose |
Beta Was this translation helpful? Give feedback.
-
Hi! Released |
Beta Was this translation helpful? Give feedback.
-
Hey, I have an application that has been using
express
and I'd like to replace it withhono
, but in the development mode the app is using 3 express middlewares (webpack-dev-middleware
,webpack-hot-middleware
andconnect-history-api-fallback
) that I can not simply "drop".The thing is each time I allow the hono middleware to resolve, the
ERR_HTTP_HEADERS_SENT
error is being thrown. The only solution that I've figured is to leak memory by not resolving the middleware:As you may suspect doing so is not the most optimal solution. But is there another, recommended way of handling express/connect middlewares?
Beta Was this translation helpful? Give feedback.
All reactions