How can i transport data from one child component to another without losing server rendering
Unanswered
Doberman Pinscher posted this in #help-forum
![Avatar](https://cdn.discordapp.com/embed/avatars/5.png)
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
![Image](https://cdn.discordapp.com/attachments/1158889628212936825/1158889628493959189/image.png?ex=651de392&is=651c9212&hm=241d4f7462fa26746c88effc4e1ce7bcefdeeac91eeeab9b294e5ddc3d4752f8&)
![Image](https://cdn.discordapp.com/attachments/1158889628212936825/1158889628770766990/image.png?ex=651de392&is=651c9212&hm=b2adce3ef716a9bffb3dba6c23e229dab98eb21ea064a2ba1d92282a16d9307e&)
![Image](https://cdn.discordapp.com/attachments/1158889628212936825/1158889629030825984/image.png?ex=651de392&is=651c9212&hm=d5467f0432f17675b42a0b236a302b42522a0300fc8d81752ad9ab5053af1020&)
2 Replies
![Avatar](https://cdn.discordapp.com/embed/avatars/5.png)
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
![Image](https://cdn.discordapp.com/attachments/1158889628212936825/1158890096217567306/image.png?ex=651de402&is=651c9282&hm=97007d553411296793cd54522e1b948945e77a211bff039beeaa84715c838e9b&)
![Avatar](https://cdn.discordapp.com/embed/avatars/5.png)
Doberman PinscherOP
should i use context provider?