Ember js component observer does not work


#1

I have a scenario in emberjs component where the observe does not get hit. I figured out the reason as "the component is not yet inserted when the component property being observed is set."

My questions is, couldn this be handled in a better way in ember js?

Better explanation can be found in the below jsbin`s.

Not working Scenario

Working scenario


#2

This is covered in the documentation:

You are missing the on init.

http://emberjs.com/guides/object-model/observers/


#3

yeah thanks i already started using it : )