title: React Native | Rerender Flatlist
body: <p>I have a list: data. Then when I update the list, it renders all the elements again. For example, let's say there are 10 items. One of these has changed. 10 items are rendering again. But since 9 of them are the same, they should not be rendered again. How can I do?</p>
  <pre><code>const Item =({item}) =&gt; (
     &lt;Text&gt;{item.name}&lt;/Text&gt;
  )
  
  const List = () =&gt; {
    const [data, setData] = useState([..]);
  
    return (
       &lt;FlatList
          data={data}
          renderItem = {Item}
       &gt;
  )}
  export default List;
  </code></pre>