Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any example with hooks #198

Closed
thug1705 opened this issue Apr 3, 2020 · 9 comments
Closed

Is there any example with hooks #198

thug1705 opened this issue Apr 3, 2020 · 9 comments
Labels

Comments

@thug1705
Copy link

thug1705 commented Apr 3, 2020

Hi,

Is there any basic example that use react hooks ?

Cheers

@jakezatecky
Copy link
Owner

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

@olessiap
Copy link

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

@thug1705
Copy link
Author

thug1705 commented Apr 22, 2020

@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"

@olessiap
Copy link

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

@brandonam
Copy link

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

@olessiap
Copy link

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

@FrancoisYu
Copy link

@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.

@olessiap
Copy link

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

@jakezatecky
Copy link
Owner

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

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

No branches or pull requests

5 participants