Add backwards compatibility to Ariakit implementation of Composite
#56548
Labels
[Package] Components
/packages/components
[Status] In Progress
Tracking issues with work in progress
[Type] Enhancement
A suggestion for improvement.
What problem does this address?
The last step in migrating from
reakit
toariakit
(#53278) is to drop support inComposite
. All of the consumers of thereakit
implementation have been migrated, so now we need to remove the implementation. The first step in doing this is to ensure API compatibility.What is your proposed solution?
In order to make the public migration smoother, we should implement support in the
ariakit
implementation for thereakit
API. The only part currently missing isuseCompositeState
(ref).As per these thoughts on the matter, it will involve the following...
...where the implementation of
convertInput
andconvertOutput
will need to reference Reakit'suseCompositeState
API reference and Ariakit'suseCompositeStore
API reference for the differences.Actions
useCompositeState
functionalityuseCompositeState
toComposite
component #56645useCompositeState
using Ariakit, as aboveuseCompositeState
with Ariakit #57304The text was updated successfully, but these errors were encountered: