react-transition-group icon indicating copy to clipboard operation
react-transition-group copied to clipboard

add as dependency or peerDependency?

Open hellatan opened this issue 9 years ago • 1 comments

This a question more than anything else. What is the recommendation when using this package in another package - add it as a dependency or peerDependency?

hellatan avatar Apr 13 '17 16:04 hellatan

as a dependency probably. there is no reason why you can't have more than one version installed. It's not great for bundle size, but that's a problem that should be addressed by the eventual App, not libraries

jquense avatar Apr 13 '17 19:04 jquense