Skip to content

Digging into Reakit in Menu and Disclosure #570

Answered by SiTaggart
hharnisc asked this question in General
Discussion options

You must be logged in to vote

For transparency into an offline discussion I had with @hharnisc, we'll dig into the possibility of following this pattern and providing a stateHook prop to components so you can use composition with Reakit state and your own state to give greater control over the state the component is using.

Obviously with some warnings that you can totally destroy the accessibility of the component if you're not caareful.

https://reakit.io/docs/composition/#state-hooks

Replies: 4 comments 6 replies

Comment options

You must be logged in to vote
3 replies
@hharnisc
Comment options

@SiTaggart
Comment options

@hharnisc
Comment options

Comment options

You must be logged in to vote
1 reply
@hharnisc
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by TheSisb
Comment options

You must be logged in to vote
2 replies
@hharnisc
Comment options

@richbachman
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants