-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
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
React component nesting hydration errors #233
Comments
It should display more friendly errors, but this is more of a usage issue than a bug.
Try setting a unique value for |
Hi @yusukebe According to the react docs:
If a key can be any unique string, with If I remember right, the warnings are coming from a component that HonoX wraps around counter (e.g. |
Thank you for the explanation! Indeed it's a bug! I'll investigate it. |
Hi @usualoma This is a bug that occurs with React. The reason seems that the
It will be solved by setting the |
I'll check it, so just wait a moment. |
@usualoma Thank you! |
Sorry for the delay in replying. I've identified where the changes need to be made. Three commits are required. |
It could have been fixed with two instead of three. |
What version of HonoX are you using?
0.1.26
What steps can reproduce the bug?
Nest an island within an island or nest an island within a non-island
What is the expected behavior?
No console warnings
What do you see instead?
Generate warnings:
Additional information
#150
#155
The text was updated successfully, but these errors were encountered: