What is Nostr?
That HTML Blog & The Spicy Web /
npub1q68…4m92
2025-01-03 01:42:51

That HTML Blog & The Spicy Web on Nostr: One of the oldest and cruftiest APIs in #JavaScript involves cookies. In fact, can ...

One of the oldest and cruftiest APIs in #JavaScript involves cookies. In fact, can you really even say there's an "API" for cookies when it's literally just a string property on `document`?

Wouldn't it be nice if we had a more modern #WebDev API to use for setting, reading, and deleting cookies?

Introducing the Cookie Store API:

https://thathtml.blog/2025/01/cookie-store-api/
Author Public Key
npub1q68wl780f0k60kmjs8afjqq53umwllycv4kedtp2yw7y269ghu2qf84m92