Function useUser

  • Hook to access the currently authenticated Realm user from the UserProvider context. The user is stored as React state, so will trigger a re-render whenever it changes (e.g. logging in, logging out, switching user).

    Type Parameters

    Returns Realm.User<FunctionsFactoryType, CustomDataType, UserProfileDataType>

Generated using TypeDoc