Im using NGXS for state store in angular. While testing I had firefox logged in and launched chrome in private window. When I navigated, I saw that the ssr was flashing the other user's information for a brief second before hydration kicks in.
I need every store to be cleared for each user so the data is not being leaked between users.
I've looked a bit more into it and it kinda makes sense that the user that got ssr served had their data set already in the store and it was being used in the rendering of the next request.
I have found no mention of this issue anywhere and I am very confused as to how this is not a bigger deal when it comes to SSR and using stores like NGXS or NGRX.