我有一个错误本机反应了该错误
将循环结构转换为 JSON -> 从构造函数“FiberNode”的对象开始
使用 API 单击通过 FlatList 显示的数据列表时。
我想知道哪些部分是错误的,哪些部分应该纠正?
这是脚本:
import React, {Component} from 'react';
import { Text, View, StyleSheet, SafeAreaView, Image, TouchableOpacity,ScrollView, ActivityIndicator , FlatList} from 'react-native';
import { createBottomTabNavigator, createAppContainer} from 'react-navigation';
import IconHome from '../components/IconHome';
import {Actions} from 'react-native-router-flux';
import IconLaporan from '../components/IconLaporan';
import IconNews from '../components/IconNews';
import { createMaterialBottomTabNavigator } from 'react-navigation-material-bottom-tabs';
import {Fonts} from '../utils/Fonts';
import Wallpaper2 from'../components/Wallpaper2';
export default class NewCases extends Component {
constructor(props){
super(props)
this.state ={
tokens : this.props.Tokennya,
user …Run Code Online (Sandbox Code Playgroud) javascript syntax-error reactjs react-native react-native-flatlist