react-checkbox-tree
react-checkbox-tree copied to clipboard
Is there any example with hooks
Hi,
Is there any basic example that use react hooks ?
Cheers
Sorry, no example for now. I have not used Hooks myself, but I imagine the component should not have any issue using them.
@thug1705 did you get this example to work with hooks by chance?
@thug1705 did you get this example to work with hooks by chance?
@olessiap yes but I could make it work as expected with version "1.5.0"
@thug1705 i made it work with hooks! let me know if you need any assistance
@olessiap have you had a chance to use the filter with hooks?
@brandonam yes! I made filters work with hooks. The only issue is now the bug where searched for items automatically get checked. Looks like somebody already submitted a fix for this here,, so hopefully it gets merged soon!! @brandonam let me know if you need anything with implementing hooks :)
@thug1705 i made it work with hooks! let me know if you need any assistance
It would be very appreciated if you can share an example code. Thanks.
@FrancoisYu, you can see an example of fileters with hooks here!
All of the examples, both in the README and the examples folder, now use hooks and functional components.