Get the user IP address
Hono JS best practice for DRY
hono/jsx/dom not re-rendering on state change
onClick={() => alert('...')}
works as expected but onClick={() => setState(...)}
does nothing, nothing in the console and no action. useEffect
also does nothing. i think i followed the Client Components page pretty closely
this is the component in question, it's rendered on both the client and server
```ts
import { useState } from "hono/jsx";...JSX Element type
Element | Element[]
(or ReactElement
imported from hono/jsx
) gives the following error when multiple children are passed:
```
Type 'Element' is not assignable to type 'ReactElement'.
Type 'HtmlEscapedString' is not assignable to type 'ReactElement'....middleware redirect from HTTPS to HTTP
Synchronous function returns no value unless await
Using Vitest with Hono JSX // Error: Expression expected
Problems with Form POST in Safari and IOS
Can the queue only be defined in the root?
Hono-Sessions, Cookie-Store, working for multiple domains
http://localhost:8001
,
- http://localhost:8002
,
- http://localhost:8003
,...How can I mount Cloudflare Durable Objects to a route?
struggles with routing with file extensions after optional path parameters
/:one/:two/:three/:four?{.+\\.png$}
...Hono is not working on netlify (Function crashed)
netlify/edge-functions/index.ts
```js
import { Hono } from 'jsr:@hono/hono'
import { handle } from 'jsr:@hono/hono/netlify'...How to Resolve "Argument of type MiddlewareHandler Error"
Have you guys ever gotten websockets to work on Hono + `@hono/vite-dev-server` plugin?
import { createBunWebSocket } from 'hono/bun';
https://github.com/honojs/vite-plugins/issues/148
2. On Node, I can serve websockets using ws
and import { serve } from '@hono/node-server'
...status 200 with empty JSON
How to do filepath as a param in an RPC route?
How to use custom fetch method for Hono client?
axios
library and want a similar experience with the Hono client, such as shorter syntax, automatic JSON transformation and interceptors. Some suggest using ky
instead of axios
, but I don't know how to integrate it. The documentation (https://hono.dev/docs/guides/rpc#custom-fetch-method) is unclear to me. Could I get any guidance or example code?Losing type information on Client for AppType
output: { [x: string]: any; result?: any; };
on the client but server is showing correct type. I have strict true on the client lib.