Since this package doesn't bundle React, that shouldn't be a dependency, but a peerDependency (and devDependency used for testing).
With the current setup (having React 15.6.1 as a dependency) you get two different React versions if the app you're using prismic-reactjs in is using React 16, which messes things up really bad.
This commit removes React as a dependency and adds it as a peerDependency and devDependency, thus solving this problem.
Since this package doesn't bundle React, that shouldn't be a dependency, but a peerDependency (and devDependency used for testing).
With the current setup (having React 15.6.1 as a dependency) you get two different React versions if the app you're using prismic-reactjs in is using React 16, which messes things up really bad.
This commit removes React as a dependency and adds it as a peerDependency and devDependency, thus solving this problem.