3 ms·
Compared to Ember. Most of the time all you need is a computed property. It simplifies the code base and allows the framework to make optimizations where it ne
by 3pt14159 11y ago
Compared to Ember.
Most of the time all you need is a computed property. It simplifies the code base and allows the framework to make optimizations where it needs to. If you really need a two way binding you can always do it with a computed alias.
- seanwilson 11y agoAre there any cons to the way Ember does things?
- grumblestumble 11y agoember's computed properties are irrelevant if you're targeting any kind of modern browser. Object.defineProperty is the standardized way to do this and perfectly possible within Angular-land (and more performant than literring your code with $watches)
- bluepnume 11y agoHow are Ember's computed properties analogous to defineproperty? The latter doesn't give me dependencies for my properties, so may as well just be functions. Ember's properties will only need to be recalculated when their dependent properties change.
- deleted 11y ago[deleted]