Summary:
This is ultimately a question about Vue.js(although I assume it applies to JavaScript in general).
First a bit of background: I noticed something in the Angular style guide which serves as a basis for the question about Vue.
Angulars style guide states to prefix custom event handler methods with on
. https://angular.io/guide/styleguide#style-05-16
Question:
Back to Vue: Why would you name an event handler like this:
<CustomComponent @customEvent="onCustomEvent"/>
versus a more descriptive method name like this:
<CustomComponent @customEvent="setUserData" />