A
A
alexfrolov_xcx2017-10-20 11:04:39
JavaScript
alexfrolov_xcx, 2017-10-20 11:04:39

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

1 answer(s)
M
Maxim, 2017-10-20
@maxfarseer

'hanging' events via onchange directly on the element itself

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question