File: basics.md | Updated: 11/15/2025
Skip to main content
š NextAuth.js is now part of Better Auth !
Version: v4
On this page
ā
How to use useSession() hook with class components.
useSession()
Securing pages and API routes
Usage with class components