Dears, The Golden Rules about web component interaction are:
- Parent references direct children
- Children doesn't reference parent
- Parent -> Child: via method calls
- Child -> Parent: via events
This pattern worked for us in many projects (YUI, JQuery, ...) What about Angular2?
Should we use:
or Input/Output?
First choice looks beautiful. @angular2 @expert, What do you think about?
Thx to all, Gabriel