React Hooks version of react-collapsible #234
Replies: 2 comments 8 replies
-
Basically if I understand correctly the book contains all the logic contained by |
Beta Was this translation helpful? Give feedback.
-
I think it shouldn't be a problem to create the exact same interface and output using a hook under the hood, question is if we want to create an exact replica which is 100% backward compatible, maybe polish the interface a little or potentially do/offer both. I'll work on a compatible component and will provide an example soon... |
Beta Was this translation helpful? Give feedback.
-
@iMoses has created a really nice-looking Gist of the way React Collapsible could move forward using React Hooks (#228)
If we can we would want this to be backwards compatible - or at least still offer a version of React Collapsible that doesn't require React Hooks.
This discussion is open to all who would like to offer advice/requirements and/or like to help out move this forward.
Beta Was this translation helpful? Give feedback.
All reactions