In React's terminology, there are five core types that are important to distinguish:
React Elements
| 'use strict'; | |
| var React = require('react-native'); | |
| var { | |
| AppRegistry, | |
| StyleSheet, | |
| Text, | |
| View, | |
| NativeModules, | |
| TouchableHighlight, |
| var Bar1 = base => class extends base { | |
| componentWillMount(){ | |
| super.componentWillMount(); | |
| console.log('Bar1'); | |
| } | |
| }; | |
| var Bar2 = base => class extends base { | |
| componentWillMount(){ | |
| super.componentWillMount(); |
In React's terminology, there are five core types that are important to distinguish:
React Elements