Nested components handling childrens events/bubbling


Is there a use case for something like this:


who has an .hbs of:

{{inner-component action="foo"}}

and then having the InnerComponent.js be able to sendAction(); and have the outer components have an actions hash?

Always searching for ways to limit scope (while I do realize this sort of changes the scope of Components).



When I’ve done this before I’ve used this.get('parentView').send('action', param) but I have no idea if that’s considered best practice or not.

I’m definitely interested in seeing more docs about structuring real-world apps rather than describing the various components of an app in isolation.