Defined in: packages/modelence/src/client/session.ts:262useSession is a hook that returns the current user, and in the future will also return other details about the current session.
Example
import { useSession } from 'modelence/client';function MyComponent() { const { user } = useSession(); return <div>{user?.handle}</div>;}