Skip to main content

LMUserProviderContext

Introduction

The LMUserProviderContext is also a global level context that houses the user related information. It sits on the core of the application providing the user data across the application state.

PropertyTypeDescriptionOptional
currentUserMemberThe currently logged-in user.
memberStatenumberThe state of the member.
logoutUser() => void | nullFunction to log out the user.✔️
currentCommunityCommunityThe community the user belongs to.

Reference

For reference checkout this file