Hello, is there some sort of hook I can use within...
# support-questions-legacy
z
Hello, is there some sort of hook I can use within react comps to get access to the sessions or rather to validate the AUTH status: const root = ReactDOM.createRoot( document.getElementById('root') as HTMLElement ); root.render( ); maybe like a useAuth() similar to Auth0.
r
Hey. Yes there is. We have useSessionContext hook
z
Thank you!!! FYI The typings for it don’t clearly reflect the whole class.
r
Could you elaborate please?
z
yeah