Zustand adheres on the client. So you should use useEffect or something like this to actually set this. What is the problem?
And one thing more. You have persist middleware for zustand store but You want on every remount set new data. Does it make much sense?