Simplifying Component Communication in Angular
Submitted by Dhananjay Kumar (@debugmode) on Tuesday, 24 April 2018
Any Enterprise Angular application will have many components and these components need to communicate to each other. A component could be used in different ways and they need to communicate to other components. For example passing data from parent component to child component or emitting events from child component to parent component. There are various ways, components communicate to each other, which are as follows:
- @Input decorator
- @Output decorator and EventEmitter
- Temp Ref variable
- ViewChild and ContentChild
Each method of communication has its own purpose and having an understanding of when to use what is very crucial for Angular application development. Without having a good understanding of component communication, it is almost impossible for Angular developer to write an enterprise Angular app.
This live coding based talk will help in simplifying component communication in Angular. At the end of talk, audience will have fare understanding of component communication and scenarios in which it should be used. This talk is for every Angular developer.
This live coding based talk will help in simplifying component communication in Angular. It will have almost all demo with love coding for entite talk
Dhananjay Kumar is Developer Evangelist for Infragistics. He is awarded with prestigious Microsoft MVP award 8 times. He is one of the most popular and respected Developer Evangelist in India.