Client component navigation
Unanswered
Exotic Shorthair posted this in #help-forum
Exotic ShorthairOP
Hello
I am trying to build a dashboard with a drawer (client component) on the left side of the screen which is responsible for navigation through the menus.
The dashboard also contains a bar at the top which is also client side rendered. (currently)
When one option of the drawer is clicked the opacity of the options is change (implemented) and the server component (space under navigation bar) renders the selected menu statistics including buttons.
How do I tell the server component which menu to render once someone clicked on an option and is this even possible without a full page refresh?
I would like to avoid using rest apis or websockets for the reason of simplicity and a small bandwidth.
I'm relatively new to nextjs and my paint drawing also isn't going to win a prize anytime soon but I do appreciate help in any form.
I am trying to build a dashboard with a drawer (client component) on the left side of the screen which is responsible for navigation through the menus.
The dashboard also contains a bar at the top which is also client side rendered. (currently)
When one option of the drawer is clicked the opacity of the options is change (implemented) and the server component (space under navigation bar) renders the selected menu statistics including buttons.
How do I tell the server component which menu to render once someone clicked on an option and is this even possible without a full page refresh?
I would like to avoid using rest apis or websockets for the reason of simplicity and a small bandwidth.
I'm relatively new to nextjs and my paint drawing also isn't going to win a prize anytime soon but I do appreciate help in any form.