Which is the preferred approach when using depdency injection and multiple component?
Option1: Angular parent component talks with service (DI) for data and passing the data to child components?
Option2: All child component and parent component talk to the service for data ?
Aucun commentaire:
Enregistrer un commentaire