React Native Firebase search listview
<p>I have a listview that is hydrated from my Firebase in my React Native app. I have came across a few tutorials on how people search listview's with the fetch function but nothing for Firebase.</p>

<p>I have a search bar at the header of my listview, how can I search by keyword and filter the results using Firebase?</p>

<p>I followed the guide on Firebase's website to setup my listview and datasource. I want to be able to search by keyword in each of those fields</p>

<pre><code>listenForItems(itemsRef) {

itemsRef.on('value', (snap) =&gt; {

  var items = [];
  snap.forEach((child) =&gt; {
    items.push({
      title: child.val().title,
      category: child.val().category,
      description: child.val().description,
    });
  });

  this.setState({
    dataSource: this.state.dataSource.cloneWithRows(items)
  });

});
}
</code></pre>