Is there a way to see if session changes / updates and reload the session?

I am trying to make it so when a user sign's in / signs out it will refetch the session.


I was looking at hooks and the useSession hook but it seems that when data cahnges it does not update this? Am i missing something here or is their another way of doing this?
Was this page helpful?