This sample app shows two potential bugs with ComputedProperty
:
- Cache does not invalidate when an external
Ember.Service
property changes, unless that property is used in the component.
This app has a component foo-bar
with three computed properties defined in 3 different ways:
- On the prototype
- In the
init
hook - Using an Immediately Invoked Function Expression
Please read the commit log and check out the app at different commits to see the different behaviors.
npm install
ember s