How can i transport data from one child component to another without losing server rendering
Unanswered
Doberman Pinscher posted this in #help-forum
Doberman PinscherOP
so i have a main page that made out of couple components, the category tabs are the buttons on the main page that should change the questionlist component refetching it to sort from 'recent' posts to 'best', in react i could've used global state managers, but im not sure if they are gonna work with nextjs, what are the possible solutions to these type of problems
2 Replies
Doberman PinscherOP
basically i need to pass the data from category tabs to question list, without creating usestate inside of the page, to reduce the amount of "use client" components, especially for pages
Doberman PinscherOP
should i use context provider?