3 ms·
> To make sure you don’t forget, you quickly add a comment explaining why event.stopPropagation() is there. Not optimal. Better, to make sure you don’t forget,
by Someone 4y ago
> To make sure you don’t forget, you quickly add a comment explaining why event.stopPropagation() is there.
Not optimal. Better, to make sure you don’t forget, write a test for the case that needs event.stopPropagation() to be there.