Stimulus action options can preventDefault
Stimulus has action options like :prevent that will call prevent default on an event for you.
<button data-action="checkout#handleClick:prevent">click here</button>
This will cause the button's HTMLEvent to have event.preventDefault() called before it gets passed to the handleClick function. You can also add your own custom options.