Watch cookie change
Hello,
It is possible to watch a cookie changement in the vuejs watch property ?
I'm interested in this as well.
yep, would be great
waiting for answer...
Could we get any news on whether or not this feature is planned?
We can try something creating an event with window.dispatchEvent() and after that get event with window.addEventListener.
It's not currently possible because cookies are not locally stored and updated when set from an http request, this is just a wrapper for tiny cookie, however an implementation is quite easy to do, since this repo seems to be dead
I made a new implementation inspired by another project, the api is very similar, the only change would be the delete method that is named remove in my package
It's fully reactive and hooks on outgoing http requests to update cookies as well