SignOutHandler() — supabase Function Reference
Architecture documentation for the SignOutHandler() function in auth.client.tsx from the supabase codebase.
Entity Profile
Dependency Diagram
graph TD 720bceec_6be4_1129_0778_67f808de3cf8["SignOutHandler()"] e5a57147_0055_6664_ef17_d8f12365e6c6["remove()"] 720bceec_6be4_1129_0778_67f808de3cf8 -->|calls| e5a57147_0055_6664_ef17_d8f12365e6c6 7adcb7b1_4d74_cd11_f824_1b19f1104b6b["useOnLogout()"] 720bceec_6be4_1129_0778_67f808de3cf8 -->|calls| 7adcb7b1_4d74_cd11_f824_1b19f1104b6b style 720bceec_6be4_1129_0778_67f808de3cf8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/docs/features/auth/auth.client.tsx lines 15–30
const SignOutHandler = ({ children }: PropsWithChildren) => {
const queryClient = useQueryClient()
const cleanUp = useCallback(() => {
queryClient.cancelQueries()
queryClient.clear()
Object.keys(LOCAL_STORAGE_KEYS).forEach((key) => {
remove('local', LOCAL_STORAGE_KEYS[key])
})
}, [queryClient])
useOnLogout(cleanUp)
return <>{children}</>
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does SignOutHandler() do?
SignOutHandler() is a function in the supabase codebase.
What does SignOutHandler() call?
SignOutHandler() calls 2 function(s): remove, useOnLogout.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free