How to easily maintain two similar sets of components in react

I have two react projects, using two similar sets of components. Most of the project A components and project B components are the same, but individual components are different. The components in them are written by themselves and often need to be changed and maintained.

clipboard.png

is there any tool that can easily maintain two sets of components at the same time?

Mar.04,2021

Private npm repository learn about https://github.com/cnpm/cnpmj.


make each component into a Component , and then export .
just go in import in the project.

Menu