Stateful Component

suggest change

These components will have changing States.

import React, { Component } from 'react'
import { View, Text, AppRegistry } from 'react-native'

class Example extends Component {
  constructor (props) {
    super(props)
    this.state = {
      name: "Sriraman"
    }  
  }
  render () {
    return (
      <View>
        <Text> Hi, {this.state.name}</Text>
      </View>
    )
  }
}

AppRegistry.registerComponent('Example', () => Example)

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


Components:
*Stateful Component

Table Of Contents