You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I've been trying to use StateHistory for object with nested properties. I understand that there are already 2 issues talking about similar situations, and suggesting using $state.snapshot(), but neither of them showed a clear example of using this alongside StateHistory, so I'm a bit confused on how to implement this.
Also, I guess StateHistory would mainly be used for complex structure rather than simple numbers like in the example so it would be of great value to have an example on how to use it for objects !
Thank you very much
The text was updated successfully, but these errors were encountered:
Change Type
Addition
Proposed Changes
Hello,
I've been trying to use StateHistory for object with nested properties. I understand that there are already 2 issues talking about similar situations, and suggesting using $state.snapshot(), but neither of them showed a clear example of using this alongside StateHistory, so I'm a bit confused on how to implement this.
Also, I guess StateHistory would mainly be used for complex structure rather than simple numbers like in the example so it would be of great value to have an example on how to use it for objects !
Thank you very much
The text was updated successfully, but these errors were encountered: