How to update nested store values such that it triggers updates
I have a store with the shape IUserState. Now I want to update some projectGroup to add a new project to it. How can I achieve this so that updates are triggered?
I tried this, it does update the store but doesn't trigger updates.
Thanks for any assitance 🙂
3 Replies
You can use the normal setter to achieve this:
That worked. Thank you so much, I was losing my mind all day over this.
is there a way to mark the thread as solved or do I just leave it like that?
I think there's a small gray checkmark at the top left of the interface.