Valtio proxy object different, depending on where it is logged #912
-
So I have the following Valtio object: When I log it in the proxy, I get the following:
If I log it outside, I get the following:
The array stores tasks:
I only change the date. Then the above happens. An item disappears at “2024-06-14”. It is certainly not removed anywhere by me. I have checked this several times. If I log JSON.stringify(...) console.log, then I get an item at “2024-06-14” - if I log the proxy directly, then I get that from the top. Why is there this difference and how can I prevent it from happening? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
should be working, strange |
Beta Was this translation helpful? Give feedback.
-
Can you create a very minimal reproduction? |
Beta Was this translation helpful? Give feedback.
Can you create a very minimal reproduction?