SolidJS useSession hook - refetch
I'm trying to use the solidjs hook for the store of the useSession hook and got everything working in terms of loading user data in etc, only thing i want to to is force a refetch of the session and noticed when debugging there is a refetch method attached to the hook but it's not declared in the types ie
the above actually works just want to double check if this is the intended way to go about it? or should i be relying on a separate store outside of what im using from the hook
2 Replies
Solution
yeah it's intended
Awesome thanks for confirming