Server Sided State Management
Unanswered
StilauGamer posted this in #help-forum
Hey,
So its been a while since I was into Next, and I was wondering what state management library I should use.
I've read up on Zustand, and I believe that one works quite well.
But I would like to know if there are any other recommendations that would be better.
And does Zustand work on the Edge, and I do believe its already fully server sided and you don't need to worry about client comps.
So its been a while since I was into Next, and I was wondering what state management library I should use.
I've read up on Zustand, and I believe that one works quite well.
But I would like to know if there are any other recommendations that would be better.
And does Zustand work on the Edge, and I do believe its already fully server sided and you don't need to worry about client comps.
2 Replies
@StilauGamer Hey,
So its been a while since I was into Next, and I was wondering what state management library I should use.
I've read up on Zustand, and I believe that one works quite well.
But I would like to know if there are any other recommendations that would be better.
And does Zustand work on the Edge, and I do believe its already fully server sided and you don't need to worry about client comps.
Double-striped Thick-knee
There's no such thing as state on server. if you want to share data between server components, use cached functions.
Basically, I need to share the state between where I use the same component.
I want to check if something is already open and cancel if you are trying to run it again..
I want to check if something is already open and cancel if you are trying to run it again..