Closed holloway closed 2 years ago
We are also looking for React 18 support for accordions. @holloway is there a plan to merge this PR #342?
@trigunam yes, within a week if testing goes well.
@trigunam This has been published as 5.0.0. Please let me know if this works for you.
It's working now. Thank you @holloway
Great, thanks!
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?