Index.ios.js - >反应中继的Index.js超级表达式必须为null或函数

时间:2018-03-15 07:45:24

标签: javascript reactjs react-native relay

我正在学习重播和反应:http://www.mot.la/2016-05-08-getting-started-with-react-native-and-relay.html

该示例使用已弃用的Index.ios.js,现在使用Index.js。但是我的进口产品有些问题......我想

let arr = [1, 2];
let a = arr[3, 4] = [5, 6];

console.log(a);
console.log(arr);

我的Index.js文件

Unhandled JS Exception: Super expression must either be null or a function, not undefined

任何帮助将不胜感激

0 个答案:

没有答案