DEV Community

Discussion on: How do you stop repeating yourself ?

Collapse
 
benjioe profile image
Benjioe • Edited

You can :

  • Create a package and publish it on npm to share it across projects. But if, for one project you need to add features to one of these packages, you can introduce breaking changes on other projects.
  • Create a snippet/template and using on each project (with CRA, Yeoman, VsCode ...) but if you need to add a feature on all your project you have to change your template and all your existing projects.