I just run a simple hello world demo in React.native and something went wrong.
This is code in , it's really easy. I guess there is something wrong with this.render
import React, { Component } from 'react';
import { Text, View } from 'react-native';
export default class HelloWorldApp extends Component {
render() {
return (
<View>
<Text>Hello world!</Text>
</View>
);
}
}
This is error info in red background of android simulator:
undefined is not a function (evaluating (http://10.0.2.2:8081/index.delta?platform=android &dev=true&minify=false:3573)