DEV Community

Discussion on: The Principles for Writing Awesome Angular Components

Collapse
 
manueledones profile image
Manuele Dones

Good recap article!
Other tips I may suggest are the following:
-Do not be scared by using Content Projection. In my experience developers do not use it so much, they instead tend to add a lot of @inputs to cover all the possible configurations...
-Spend time to read how Angular Material /PrimeNg/ etc have implemented their components,I always find it effective.
-Add strict mode true to the typescript tsconfig.