We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
4.6.14
Bun, but it's probably runtime independent
create-hono
x-basic
When the value passed to the Provider is updated, the value received by its descendant useContext will be in an updated state.
When the value passed to the Provider is updated, the value received by its descendant useContext will remain the same as the first.
It does not occur with Hono 4.4, but occurs with Hono 4.5.0-rc.2 or later. Occurs only when using with HonoX, but depends on the Hono version, so write here. repro: https://berlysia.github.io/hono-jsx-context-hydration-issue/
I also tried with React renderer, it works as expected
The text was updated successfully, but these errors were encountered:
Hi @berlysia, Thanks for the report. I'll investigate!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
What version of Hono are you using?
4.6.14
What runtime/platform is your app running on? (with version if possible)
Bun, but it's probably runtime independent
What steps can reproduce the bug?
create-hono
and choosex-basic
What is the expected behavior?
When the value passed to the Provider is updated, the value received by its descendant useContext will be in an updated state.
What do you see instead?
When the value passed to the Provider is updated, the value received by its descendant useContext will remain the same as the first.
Additional information
It does not occur with Hono 4.4, but occurs with Hono 4.5.0-rc.2 or later.
Occurs only when using with HonoX, but depends on the Hono version, so write here.
repro: https://berlysia.github.io/hono-jsx-context-hydration-issue/
I also tried with React renderer, it works as expected
The text was updated successfully, but these errors were encountered: