So in Ember Octane there are two ways of attaching a function to an event in an hbs
file.
The EmberJS way: {{on 'click' this.function}}
Classic HTML way: onclick={{this.function}}
Here they suggest using the prior syntax
However I don't see a reason why to use that syntax unless we have due reason to do so.
What are the reasons I would use the former over the latter?