Skip to content

Make it compatible with newer React versions (15.3.2 and up) #28

Description

@adriagil

Hi I'm willing to integrate this library into my current project.
Now if I add the library I cannot compile the project due to this error:

Error: Cannot find module 'react/addons'

I've installed react-addons package and required into my component code.

var addons = require('react-addons')

and also I've added the 'externals' reference into my webpack.config file

externals: { 'react/addons': true }

I'm currently using React 15.3.2 and I wonder if there is a workaround for fixing that issue.

Thanks a lot!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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