Access State
getUser() and the user object
getUser() and the user object{ isAuthenticated, user }Quick-read properties
Typical shapes
{ isAuthenticated: false, user: null }{
isAuthenticated: true,
user: {
userId: 'xyz',
email: '[email protected]',
productAccess: []
}
}Staying in sync: userChange
userChangeLast updated
Was this helpful?