I don’t think I’ve done one thing in Ember yet without being tripped up by something. It’s honestly maddening.
Today it’s a table component that I have that keeps caching a computed property from a model. I tried so many things to figure it out.
I set the model in the parent template handlebars “data=model”. When I change route with link-to then the model.name never changes in the component. It rerenders fine as text in the parent template. The actual table data in the component changes also.
In link-to I’ve tried setting the object and object.id.
Tried all manner of this.get(‘model.name’), Ember.get(this, ‘model.name’), model.get(‘name’) in the component.
I have no idea. Can anyone point me in the right direction?