Closed islamBelabbes closed 4 months ago
hey, I have implemented useAuth hook with context API for client-side checking
although I'm not sure if we should stay on fetching the user from the layout (ssr) or fetch it in the auth context with react query or native fetch
hey, I have implemented useAuth hook with context API for client-side checking
although I'm not sure if we should stay on fetching the user from the layout (ssr) or fetch it in the auth context with react query or native fetch