Empty Handlers Must Be Valid
Go Up to Defining the Handler Type
You should never create a situation in which an empty event handler causes an error, nor should the proper functioning of your component depend on a particular response from the event-handling code of the application.