Hello,
After reading the RFC for Ember 2.0 and this post from @mitchlloyd, I’ve been thinking about how could I migrate an ArrayController
from my project to a Component
which has a list of items rendered as sub-Components .
Currently, I have external controllers calling an action in the ArrayController to add elements to the controller’s model. Should I move this action to the Route
or could I directly call a Component’s action to add elements to the component’s items list? In the second case, how could I call a component’s action?
Thanks.