I've run into a number of words you can't use in Ember, and I want to keep track of them so others don't use them in the future. Here's my list to date:
- data
- currentState
- state
I've run into a number of words you can't use in Ember, and I want to keep track of them so others don't use them in the future. Here's my list to date:
I'm also fighting with Ember-2.12.2 (not saying that this version introduced the change) disallowing attrs as a property on controllers. Worth updating the gist? Is there any changelog stating so?
// route.js
setupController(controller, model) {
controller.set('attrs', 'foo');
controller.set('bar', 'bar');
}
// template.hbs
{{log "attrs: " attrs ", bar: " bar}}
// outputs to console: attrs: undefined, bar: bar
After upgrading to Ember 2.10, I found that
attrsappears to be a reserved word in HTMLBars (well, Glimmer 2).