小编Spa*_*ing的帖子

React Native 0.56在启动时崩溃

从版本0.44-> 0.56升级后,我一直在第一个渲染循环中获取它。有任何想法吗?(似乎是内部反应性错误)。Google搜索没有给我任何东西:-(

TypeError: undefined is not an object (evaluating 'props.getItem')

This error is located at:
    in FlatList (at YellowBoxList.js:87)
    in RCTView (at View.js:43)
    in YellowBoxList (at YellowBox.js:104)
    in YellowBox (at AppContainer.js:93)
    in RCTView (at View.js:43)
    in AppContainer (at renderApplication.js:31)

_checkProps
    FlatList.js:489:6
Run Code Online (Sandbox Code Playgroud)

package.json-所有软件包都是最新的(带有yarn upgrade --latest)。我正在使用一些自定义程序包来处理其他rn 0.56.0问题。如react-native-root-siblings不兼容babel7。

 "dependencies": {
    "assert": "1.4.1",
    "lodash": "4.17.10",
    "moment": "2.22.2",
    "moment-range": "4.0.1",
    "path": "^0.12.7",
    "prop-types": "^15.6.2",
    "react": "^16.4.1",
    "react-native": "^0.56.0",
    "react-native-action-button": "2.8.4",
    "react-native-actionsheet": "2.4.2",
    "react-native-animatable": "1.3.0",
    "react-native-autocomplete-input": "3.5.0",
    "react-native-background-timer": "2.0.1",
    "react-native-branch": …
Run Code Online (Sandbox Code Playgroud)

react-native

6
推荐指数
1
解决办法
957
查看次数

标签 统计

react-native ×1