2021-02-07, 22:55
No, you should never query an entire db at once it would be very inefficient and painfully slow for the user interface even with lazy loading.
Use the filters for ingredients and create category buttons in your app. Then list the cocktails to browse, then do another lookup on the ID once a user clicks on the cocktail for the details.
Use the filters for ingredients and create category buttons in your app. Then list the cocktails to browse, then do another lookup on the ID once a user clicks on the cocktail for the details.