-
Notifications
You must be signed in to change notification settings - Fork 25
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
Add random id prefix to input ids #13
Comments
Perhaps React's useId hook can help us achieve that. |
@andrepinho thought the same but this is only react@^18 . Not sure if we can use it yet. |
What should be the approach here then? Generate any random string? |
@felipefreitag, the random string should be shared between the server and client to avoid hydration errors. Once we implement #124, we'll have a Context for each field. That might help with this issue: if we store the random id in the Context, it will be shared. Maybe we wait for #124? |
We can use |
No description provided.
The text was updated successfully, but these errors were encountered: