Sharing Your Code Using Library Components
In the three previous parts of this book, we saw how to work with both web parts and extensions, the two main types of customizations SPFx offers. In this part, we’ll focus now on advanced SPFx techniques that you can use to push your solutions to the next level.
In the very first chapter of this part, we’ll start by detailing another type of customization you can use: a library component. To fully detail this capability, we’ll cover the following main topics:
- Understanding what a library component is and what it is used for
- Building a library component by adapting the existing code base of our product catalog solution to share some code parts
- Deploying a library component
- Providing some guidance about usage and scenarios for library components compared to
npmpackages