Instead of just doing
<>
<h1>List of items</h1>
{items
.filter(itemFilter)
.map(item => <div>
{/* UI for the individual item, e.g. name,
subtitle, icon, buttons, etc. */ }
</div>)}
</>
that also keeps the displayed data current no matter what - new data comes in from network, the filter in the search textbox changes, it all stays in sync...