-
Notifications
You must be signed in to change notification settings - Fork 113
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
Preparing React Accessible Accordion for React 18 #341
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems that broadly speaking it will be compatible, but our generated ids will have to use the
useId
hook,We were using the counter to generate IDs approach, so we'll have to adopt
useId
.Because we have React as a peerDep we'll have to detect if
useId
is available and fallback to our existing counter approach.As such these autogenerated ids will change in a release of RAA for React 18.
Are there any other issues that we should address for React 18?
The text was updated successfully, but these errors were encountered: