So, I just read today's blog on Hono https://blog.cloudflare.com/the-story-of-web-framework-hono-fro

So, I just read today's blog on Hono https://blog.cloudflare.com/the-story-of-web-framework-hono-from-the-creator-of-hono My worker uses Hono, yay! As I read the blog, I discovered their is a Hono Client :watwow: All the examples only show setting it up with a single route, which is not terribly efficient for me. I have N routes on my app. Is there a way to create the Hono client with an entire app route structure? The important part of why this would really matter is that, I have a complex app which is structured like:
const api = new Hono<HonoEnv>().basePath("/api");
api.route("/", aiApi);
api.route("/", analyticsApi);
...
const api = new Hono<HonoEnv>().basePath("/api");
api.route("/", aiApi);
api.route("/", analyticsApi);
...
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?