-
Hi, I would like to know if anyone has a good solution for this problem: I would like the key that would stay in sessionStorage to be something like: This is something I came with:
Then I had something like this:
And then I used it like this:
The problem I have is that I don't get the updates in the component. I see it updating the storage, but the component don't get the updated values. Any clue how to achieve this? thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Creating a store in the component lifecycle requires some techniques. Basically, it needs to be stable with some kind of memoization. See 👉 #398 (comment) |
Beta Was this translation helpful? Give feedback.
Creating a store in the component lifecycle requires some techniques. Basically, it needs to be stable with some kind of memoization.
See 👉 #398 (comment)