Pagination Client side
Answered
Indian oil sardine posted this in #help-forum
Indian oil sardineOP
Hello! Would it be possible to not have to make my top level component be a client based component ? That is I fetch the content in the top level component, but want the interaction to be only within the pagination section? so if user clicks within pagination then it'd update my todo's components? If that makes sense, is this possible or do I have to do it from top level? Without the use of params either
5 Replies
Indian oil sardineOP
yea want to avoid using search params
then you could fetch the first page data on server and pass it to react context
and use client side fetching for next page
Answer
Indian oil sardineOP
I see I see. Alright Thank you sir! ðŸ™