Skip to content

Move React dependencies into peerDependencies or devDependencies #40

@webbower

Description

@webbower

I tried using your plugin but I ran into an issue where, because you have React and ReactDOM set to ^0.14.7 in dependencies inpackage.json`, it installs the latest version of React and ReactDOM (0.14.8 at the time of writing) and I'm still running 0.14.7. This ends up causing two different versions of React to be loaded which causes errors on the page.

I looked at other React plugins and they have their React dependencies in devDependencies or peerDependencies:

https://docs.npmjs.com/files/package.json#peerdependencies

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions