How would you architect fetching about ~100 rows and then sorting/filtering
Unanswered
Scottish Fold posted this in #help-forum
Scottish FoldOP
Hey guys, I wanted to run a question with the community.
I'm running Next14 with App Router and currently I just fetch my data via a server component. I want to filter the results and sort the results client side since the data won't change often - like maybe once or twice a month.
I want to use search params to set the filtering/sorting configuration, but given my setup whenever I update the search param for something it seems to refetch the data - when I simulate a slow connection this isn't a great experience.
What would you recommend as an approach to do something like this?
I'm running Next14 with App Router and currently I just fetch my data via a server component. I want to filter the results and sort the results client side since the data won't change often - like maybe once or twice a month.
I want to use search params to set the filtering/sorting configuration, but given my setup whenever I update the search param for something it seems to refetch the data - when I simulate a slow connection this isn't a great experience.
What would you recommend as an approach to do something like this?