title: React Native / Flatlist keyExtractor
body: <p>I am trying to use this json array as an input for my Flatlist (this is an output of my Realm query) : </p>
  
  <pre><code>[
      {
          "0": {
              "id": "Id 1",
              "title": "Title 1",
              "body": "Body 1"
          },
          "1": {
              "id": "Id 2",
              "title": "Title 2",
              "body": "Body 2"
          }
      }
  ]
  </code></pre>
  
  <p>My problem is that I do not know how to setup the keyExtractor and display the title and the body of each item. The first node of my json array changes at every child : 0 then 1 then 2 and that I have not seen this situation on any other example on the internet.</p>
  
  <pre><code>&lt;FlatList
      data={this.state.data}
      keyExtractor={item =&gt; item}
      renderItem={({ item }) =&gt; (
          &lt;View&gt;
              &lt;Text style={styles.noteElementTitle} &gt;{item.title}&lt;/Text&gt;
              &lt;Text style={styles.noteElementBody} &gt;{item.body}&lt;/Text&gt;
          &lt;/View&gt;
      )}
  /&gt;
  </code></pre>