In React, events are handled by passing a function to a prop such as onClick or onChange. React provides a synthetic event object; preventDefault() cancels the default behavior, such as submitting a form. You pass the function itself, without calling it.
Example
<form onSubmit={(e) => { e.preventDefault(); envoyer(); }}>...</form>