Use persisted for a store of stores #235
Unanswered
thelegendtubaguy
asked this question in
Q&A
Replies: 1 comment
-
Would it be possible to create a repo with a minimal reproduction? Simplifying your question helps a lot because I have many inbound questions and my time is limited. |
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
-
Hey there, I'm trying to use this to persist a store of stores. This is kind of working, I see the store show up in application storage. But updates to the nested stores are not persisting to storage and I also don't see an initial value I would expect.
This gets a little complicated, so my apologies for the wall of text.
Here's my store of stores:
And here's my nested store:
When I use this in my page like:
I see updates on my page which is subscribed to the allConnectionsStore. That all works like I'd expect. But in application storage I see:
I never see my updates to the serviceConnectionStore come through to application storage.
Anybody see what I'm doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions