Reputation: 399
I have a sense that it would be prudent to use semver to version my components individually, seeing that the props they expect form a sort of contract. Are there any best practices in this regard? Am I overthinking this?
Upvotes: 2
Views: 239
Reputation: 306
Depending on what your needs are. If your components are part of one library you should version them altogether as one package.
If you are using monorepo like lerna and publishing them as separate npm packages then it's a good idea to version them separately
Upvotes: 2