DEV Community

Discussion on: The Making of A React Component Library

Collapse
 
brense profile image
Rense Bakker

Do be careful when creating a component library that is going to be used within a company. Some general tips: Make sure you follow React design patterns like composition and read up on the open/closed principle, otherwise you're going to create a lot of frustration for your fellow dev. If you're extending an existing UI component library, make sure you follow the same pattern and dont create black boxes for the components that you're extending.

Collapse
 
aviavinav profile image
Avi Avinav

Thanks for adding that!