Creating a Next Generation JavaScript Application with Aurelia

  1. I think that event handling should be taken out of the DOM (e.g. <form submit.delegate="welcome()">
  2. Loops and other control structures just don’t seem right when used as attributes of an element rather than on their own. (e.g. <li repeat.for="el of collection">) This isn’t about too much logic, just strangely done logic.

It’s not nearly as bad as Angular and Ember who use templates to do a lot more, but I’m used to Backbone and Ampersand where you have more of the logic in the classes rather than in the template. Templates should be dumb so that they can be mostly written by non-JS devs.