Optimizing a React SPA Part 1: Collections, Loops, and Filters