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
Same as #22001
When I store an object in a cookie using useCookie composable and then want to change the value of a key of that object it doesn't effect the cookie in the web browser. The value in the ref is good but value registered in the cookie browser it not updated.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
manniL
changed the title
useCookie doesn't change value of an object stored in cookie RE#22001
useCookie doesn't change value of an object stored in cookie
Jan 1, 2024
Hi, I tested the repro locally on my mac machine and it seems to be working fine.
Not sure if it's stackblitz behaviour that did not update the cookies correctly in browser, here's a stackblitz repro from another issue related to cookie that I tested.
Attached is a demo of me running the repro locally, can notice that the cookie did update when I click refresh after hitting the button.
Hope it helps!
Environment
Reproduction
https://stackblitz.com/edit/nuxt-starter-4fsr9x?file=app.vue
Describe the bug
Same as #22001
When I store an object in a cookie using useCookie composable and then want to change the value of a key of that object it doesn't effect the cookie in the web browser. The value in the ref is good but value registered in the cookie browser it not updated.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: