Here\'s a basic component. Both the and have onClick functions. I want only the onClick on the to fir
The new way to do this is a lot more simple and will save you some time! Just pass the event into the original click handler and call preventDefault();.
preventDefault();
clickHandler(e){ e.preventDefault(); //Your functionality here }