How to refetch user data client-side?
I'm updating the user object on the server-side and need to trigger an update from the client side. Is there a function, I can call from the client to refetch the session from the server?
Solution
Yeah getSession will always hit your server, but if you have session-cookie-cache then it won't hit your DB