hono
hono copied to clipboard
fix(jsx): preserve the state of element even if it is repeatedly evaluated by children
There was a bug where the hook state was not maintained when passed as children.
This is not a specification change, but a fix to the original expected behaviour, so a patch version release would be acceptable, but it might cause changes in the results in existing applications, so it is better to include it in a minor version update with #2553.
Author should do the followings, if applicable
- [x] Add tests
- [x] Run tests
- [x]
yarn denoifyto generate files for Deno
Thank you @usualoma !
I'll merge this into the "next" branch, which I will create later. The next minor version will be shipped soon!
Merging now!