How to access a proxy from another proxy? #983
Unanswered
Kilowhisky
asked this question in
Q&A
Replies: 1 comment
-
What would you do if it's not a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Got probably a simple question that i'm overcomplicating with the wrong structure.
I am storing the users session as a Valtio proxy, this contains the user's id.
I need to get the user's id in most subsequent calls in the other proxies. How can i do that?
For example, here is the users ProfileStore. In order to load the user's profile, I need the users identifier which is in another proxy.
Is there a way to do this without having to utilize a
load(user_id)
action?Beta Was this translation helpful? Give feedback.
All reactions