Solving firestore whereIn query limitation

When using firestore, you can only pass an array of 10 items in a compound query, which is used as whereIn. I want to go over to solve this…