Skip to content

[RAC] Button - Any idea why onPress is preffered over onClick prop? #4935

Discussion options

You must be logged in to vote

Hey! Thanks for the discussion. I think this blog series will help clear things up for you https://react-spectrum.adobe.com/blog/building-a-button-part-1.html

Let us know if you have further questions!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by thevipinmishra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants