react-checkbox-tree icon indicating copy to clipboard operation
react-checkbox-tree copied to clipboard

Is there any example with hooks

Open thug1705 opened this issue 5 years ago • 8 comments

Hi,

Is there any basic example that use react hooks ?

Cheers

thug1705 avatar Apr 03 '20 14:04 thug1705

Sorry, no example for now. I have not used Hooks myself, but I imagine the component should not have any issue using them.

jakezatecky avatar Apr 15 '20 14:04 jakezatecky

@thug1705 did you get this example to work with hooks by chance?

olessiap avatar Apr 21 '20 14:04 olessiap

@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 avatar Apr 22 '20 08:04 thug1705

@thug1705 i made it work with hooks! let me know if you need any assistance

olessiap avatar Apr 30 '20 18:04 olessiap

@olessiap have you had a chance to use the filter with hooks?

brandonam avatar May 18 '20 09:05 brandonam

@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 :)

olessiap avatar May 30 '20 22:05 olessiap

@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 avatar May 31 '20 02:05 FrancoisYu

@FrancoisYu, you can see an example of fileters with hooks here!

olessiap avatar Aug 26 '20 12:08 olessiap

All of the examples, both in the README and the examples folder, now use hooks and functional components.

jakezatecky avatar Mar 15 '23 19:03 jakezatecky