Someone reinvented SQL in React... this is so cursed.