Skip to content

Alloy Editor crashes on React 16 #770

Closed
@emilecantin

Description

@emilecantin

React.PropTypes and React.createClass have been deprecated since React 15.5, released April 2017. Alloy still uses them, which crashes on React 16.

Here is the crash:

Uncaught (in promise) TypeError: Cannot read property 'string' of undefined
    at alloy-editor-no-react.js:8526
    at alloy-editor-no-react.js:8557
    at Object.<anonymous> (alloy-editor-no-react.js:16541)
    at Object.Array.concat.module.exports.root (alloy-editor-no-react.js:16541)
    at __webpack_require__ ...

This references this line, which uses React.PropTypes.string.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions