Filtering and search in RSC
I'm trying to implement filtering and searching in server components but its kinda slow, the way im doing it is i redirect to a new url with searchParams and then filter the data in the page.tsx which is a server component,
Here's the code:
thats from the child client component
and this is the page.tsx
is there another way to do it? maybe my internet is slow so its taking couple of seconds to go to the new url
0 Replies