DEV Community


Discussion on: How to Easily Reuse Components Across Projects and Repositories

vlaja profile image
Vlatko Vlahek

This is a great case imho.

Building monorepo component libraries allow people to collaborate on improving current code and reusing an always stable version across projects. Apart from that, it makes it easier to write tests for what you want to achieve and for me personally it allows better knowledge sharing in contrast to "i made a small change to that component in project X".

We use Lerna + Storybook for React/Typescript combo inhouse.

phillyvanilly profile image

You might want to try NRWL/Nx, comes from the Angular world, but is available for React too (not Vue yet, unfortunately)