This is a nice to have, right now you have to explicitly call the function, where as in react you can pass in just the declaration. See: https://reactjs.org/docs/handling-events.html