Skip to content

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

@adriagil

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!

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