-
-
Notifications
You must be signed in to change notification settings - Fork 997
Closed
Labels
Description
What version of Hono are you using?
4.11.7
What runtime/platform is your app running on? (with version if possible)
Node 22.21.1
What steps can reproduce the bug?
minimal repro:
https://github.com/hashrock-sandbox/issue-hono-20260204-usestate
- Create a project based on the hono-vite-jsx example.
- Build a component that has counter functionality: create one parent component and three child components.
- Click the parent component once.
- Click the second child component twice.
- Click the third child component once.
CleanShot.2026-02-04.at.11.30.07.mp4
What is the expected behavior?
- Parent: 1
- ChildA: 1
- ChildB: 2
What do you see instead?
- Parent: 1
- ChildA: 2
- ChildB: 1
Additional information
adding unique keys on child components doesn't solve this issue
Reactions are currently unavailable