Answer the question
In order to leave comments, you need to log in
How to undo one of the clicks in React?
There is one class, it has a common div, and onClick is hung on it.
And in this div there is another div, onClick is also hung on it.
If I click on the nested div, it works, but the onСlick from the outer div also works.
How to avoid it
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