mercredi 30 septembre 2020

Angular Service & parent-child Component Communication

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