title: TextInput inside a FlatList
body: <p>Description</p>
  
  <p>From the sample code below, the FlatList returns n-number of TextInput, when a value is entered on a particular TextInput it keeps re-rendering every other TextInput.</p>
  
  <p>Sample Code</p>
  
  <pre><code>&lt;FlatList
      ...........
      renderItem ={this.renderItem}
  /&gt;
  
  renderItem=(item)=&gt;{
  
     &lt;Text&gt;{item.name}&lt;/Text&gt;
     &lt;TextInput
     .........
     onChangeText ={(text)=&gt;this.setState({text})}
     value={this. state.text}
  /&gt;
  
  }
  </code></pre>
  
  <p>Solution</p>
  
  <p>I have tried to assign a key to the TextInput but don't know how to go avout it</p>