Angular — Three Common Techniques to Reuse an Existing Component
Component is the basic building block in the world of Angular. A typical Angular application is consisted of dozens of components. When working on a large project, it is very common to have unforeseeable new requirements raised time by time. In such cases, it will be essential to reuse existing components with similar functionalities for better maintainability and faster development. In this article, I have summarized three common techniques to reuse an existing component for new features. Besides, I am going to provide some practical examples.