Skip to main content
API Reference / modelence / client / useSession
useSession(): object
Defined in: packages/modelence/src/client/session.ts:222 useSession is a hook that returns the current user, and in the future will also return other details about the current session.

Example

Returns

object
NameTypeDefined in
usernull | Userpackages/modelence/src/client/session.ts:224