In IonButton, is href compatible with onClick()?

The below onClick() function works as intended without href. When I add in the href, only the href seems to run, not the onClick() function. How do I both run the onClick() function and also send the user to a new page?

                        <IonButton
                            color="primary"
                            onClick={() => {saveData()}}
                            href="/create/"
                        >Save</IonButton>
<IonButton color="primary"
      onClick={() => { 
          saveData(); 
          history.push("/create")}}
> Save
</IonButton>