Fetching Items according to category
Open in Discord
European sprat posted this in #help-forum
I am making a reddit like app and in the main page I layed all categories of posts some user may need . When clicking one route should I query data using the query param and load only category related items of should I query everything and store them and then apply filtering by category? Also I want to put a drop-down select menu so users can switch categories. Any suggestions on how should I approach this app?