react-transition-group
react-transition-group copied to clipboard
add as dependency or peerDependency?
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?
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