Answer the question
In order to leave comments, you need to log in
What is the best way to detect a click in practice when building a React app?
Hello! I'm just starting to get into the frontend world, and I'd like to know how best to use element access: through searching for it by a selector, or by 'hanging' an event via onchange directly on the element itself?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question