'How to share the user state (profile) in all my application using NGXS
Kind regards, my doubt is based on how to share the value of the profile in different parts of my app, example: A user logs in and the profile property is filled with the user's data, but then in other components of my app (chat , setting, ...) I want to get that profile, should I create a new selector in each class state? should inherit from AuthState? which is the most conveenter image description herenient flow to share the profile throughout my application knowing that each part of it will have its own state (chatState, settingState,...). Thank you very much.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
