I noticed that there are a couple of place where code can be simplified in useLoadData where the map-reduce pattern is currently used and .some() or .every() would suffice.
.some() and .every() should offer a time optimization with early termination and a space optimization by not creating a new array like .map() does.