How To Use Angular Schematics To Empower Developers Of Frontend Apps & Libraries
In development, we often want to extract reusable parts of logic into self contained libraries. Modern tooling provided by Angular CLI enables us to provide amazing developer experience for the users of our libraries.
Libraries can be added seamlessly, while automating all the necessary setup work.
More so, providing built-in library specific schematics enables us to cut on the learning curve that is needed to get developers productive straight from the start by generating code which follows intentioned patterns and best practices.
In this talk, we're going to explore:
1. What are Angular Schematics
2. Why and how to use them
3. Best practices and tips for using default Angular schematics
4. How to build simple schematics for our custom library
5. How to make our library "ng add" - able to make it seamless for the consumers
Tomas Trajan: Tomas (@tomastrajan) is a Google Developer Expert for Angular (GDE), co-organizer of Angular Zurich Meetup, speaker, open source contributor and currently works as a software contractor in beautiful Switzerland. Even though he focuses mostly on Angular, he loves whole frontend ecosystem and is a strong believer in sharing of the best ideas across various projects!