Join Nostr
2025-12-02 11:28:04 UTC

Stefan Judis on Nostr: I was dealing with client-side cookies the other day and, of course, I used ...

I was dealing with client-side cookies the other day and, of course, I used `document.cookie`. This API is "something", isn't it?

But then I remembered that `cookieStore` is a thing today, and it makes cookie handling way easier! 👇

`cookieStore` also emits change events. Not sure if I ever needed to listen for cookie changes, but hey, it's great to have it!

https://developer.mozilla.org/en-US/docs/Web/API/CookieStore