Nuacht

In this example, when the user clicks over the Hello button then the onClick () Event will occur and would trigger the sayHello () function. Conclusion:- I hope with the help of the above example ...
Button component onClick no longer seems to fire on mobile. works fine on web. upon debugging i found onTouchStart, which seems to work for mobile but does not for web.