Bind handleSubmit as event handler (Listing 15.13,14,15)