lessquo
Explore posts from serversHow to use custom fetch method for Hono client?
Got it! Well, short syntax is not really important. But I really want the interceptors feature.
This is what I usually do with axios:
and here's my Hono client:
As you can see, Hono client can replace
axios
for the baseURL
and headers
, but not for the auto refetch and error handling. So, no way to achieve this currently?6 replies
ContextVariableMap not recognized during build from other package in monorepo
Because I believe the RPC is one of the killer features of Hono. Everyone, including me, wants E2E type safety to reduce unnecessary duplicated code. Again, really appreciated
35 replies
ContextVariableMap not recognized during build from other package in monorepo
I guess, the difference is that I want to use the type from another package with RPC feature. I configured a monorepo:
package.json
in the root directory:
The error happens when I try build command bun run build
from the web
project.35 replies