Skip to content

mixin冲突 #18

@woshi82

Description

@woshi82

话说你们有遇到过这个问题么?ReactClassInterface: You are attempting to define UNSAFE_componentWillMount on your component more than once. This conflict may be due to a mixin

我看RN源码 ScrollView.js 里面创建的类还是用的旧的方法。但是新的react是不支持mixin了。所以不是很清楚,它是怎么做到兼容新的类。
请问你们有遇到过这个问题么? 如何解决呢?
或者对这个问题有什么看法吗?

"react": "16.0.0"
"react-native": "0.55.3"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions