Export Image
Export Code

Bats plus React useMemo

brandon flowers

0 views in last 90 days
Last edited Mar 03, 2020
Created on Mar 01, 2020

Experiment with React useMemo

With useMemo, the components will only get updated if their data changes. In this case, the data is an array. If useMemo takes in this array, all the bats will update on a change instead of the desired one bat.

MIT Licensed