score:1

Accepted answer
const YourComponent = props => (
  {...}
  {this.filterMatches(this.state.matchesList, this.state.selectedItems).map(matches => (
   <p>{matches}</p>
  ))}
  {...}
);

Related Query

More Query from same tag