React Dependency Conflicts When Importing Into Other Projects
hharnisc opened this issue · 1 comments
hharnisc commented
What happens when there is a conflict in react dependencies between the component library and the app consuming project? Seems there are a few possibilities:
- Webpack packages both versions side by side
- Only the new version is packaged with webpack
- Breaks entirely
- ???
djfarrelly commented
Thinking we should move React to devDependencies and make React a peerDependency. If we also aim to use simple, stateless components this will be more usable across versions of React