title: Filtering ListView with large number of rows
body: <p>Trying to implement fast filtering of ListView in react native. Currently I'm filtering the DataSource to achieve this. It works, but causes big performance problems. The problem is following :</p>
  
  <ol>
  <li>There is a ListView with 100 items in it. All of them are rendered</li>
  <li>Filter is being applied which shrinks it to, say, 2 items </li>
  <li>When the filter is cleared and DataSource goes back to initial 100 items
  ListView re-renders 98 items causing big performance problems
  (ListView performance while bulk rendering new rows is discussed <a href="https://stackoverflow.com/questions/33030017/react-native-how-to-improve-responsiveness-while-listview-is-loading">here</a> )</li>
  </ol>
  
  <p>Am I missing something here?</p>
  
  <p>EDIT: added rnplay sample app to demonstrate the approach I'm currently using <a href="https://rnplay.org/apps/szko6Q" rel="nofollow noreferrer">https://rnplay.org/apps/szko6Q</a></p>