Notes
This is the image for the error that i'm getting in simulator https://www.dropbox.com/s/wmcs1dva3y5ihef/Screenshot%202016-06-15%2013.45.28.png?dl=0
The Error reads:
Super expression must either be null or a function, not undefined
Notes
This is the image for the error that i'm getting in simulator https://www.dropbox.com/s/wmcs1dva3y5ihef/Screenshot%202016-06-15%2013.45.28.png?dl=0
The Error reads:
Super expression must either be null or a function, not undefined
| import React, {Component,} from 'react'; | |
| import { | |
| AppRegistry, | |
| StyleSheet, | |
| Text, | |
| View | |
| } from 'react-native'; | |
| class flyby extends React.Component{ | |
| render() { | |
| return ( | |
| <View> | |
| <Text> | |
| This is the root Component | |
| </Text> | |
| </View> | |
| ); | |
| } | |
| } | |
| AppRegistry.registerComponent('flyby', () => flyby); |