title: How to map an index range in react?
body: <pre><code>&lt;table&gt;
     &lt;tbody&gt;
     {this.state.data.map((person, i) =&gt; &lt;TableRow key = {i} data = {person} /&gt;)}
     &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>This maps my entire array, but how would I map from a minimum index to a maximum index? So say my array has 500 elements. I want to map this array (of data) from index 15 to 24 inclusive. (So I'd only have 10 elements on my screen).</p>
  
  <p>edit: these answers are interesting.. but no mention of .filter() though? I saw that it might help what I want but I'm trying to figure out how to do it in react.</p>