I am currently learning Ember and I have come across a problem that I would like to solve.
I have a component that presents X amounts of buttons that are linked to actions on the component.
When one of these buttons are pressed the proper action should execute and in executing it should add a newly instantiated component to another component.
I realize that the proper way would not be to let component X know about component Y, but what does the proper solution look like?
Aucun commentaire:
Enregistrer un commentaire