79215016

Date: 2024-11-22 12:30:25
Score: 1.5
Natty:
Report link

I would solve it like this:

<div onclick={(e) => { e.stopPropagation(); someFunc();}}>
    <button onclick={otherFunc}></button>
</div>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Juan Vidal