I’ve noticed that
(click) handlers tend to respond slowly (or not at all during page transitions) when they’re put into tags like
<div> instead of
<button>. Is there a way I can make something like a
<div> respond to
(click) events faster (maybe by adding some type of
button attribute to the
The reason why I don’t want to use
<button> in some places is because it has it’s own built in CSS styles that I’m trying to avoid.
Thanks for any help in advance!