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
Describe the bug
There may be clashes in ids with multiple roots in the same page. This is a follow-up issue to #3772 . See: #3772 (comment)
To Reproduce
https://codesandbox.io/s/preact-useid-multiple-y0qbwq?file=/src/index.js
Expected behavior What should have happened when following the steps above?
The text was updated successfully, but these errors were encountered:
I am interested in fixing this bug. What is the expected behavior in this case? Unique id for each root, like in React?
Sorry, something went wrong.
Do you know if we have news here? I'm interested in this because Deno Fresh islands architecture leverages multiple renders and causes this bug.
web: Don't use useId for now.
2085d73
Preact's useId does not work with multiple roots: preactjs/preact#3781 Once the port to preact is complete, we can switch back to Preact's useId.
e5c7f0c
useId
render
@preact/compat
No branches or pull requests
Describe the bug
There may be clashes in ids with multiple roots in the same page. This is a follow-up issue to #3772 . See: #3772 (comment)
To Reproduce
https://codesandbox.io/s/preact-useid-multiple-y0qbwq?file=/src/index.js
Expected behavior
What should have happened when following the steps above?
The text was updated successfully, but these errors were encountered: