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/
=> More informations about this toot | View the thread | More toots from vanillaweb@intuitivefuture.com
=> View javascript tag | View webdev tag This content has been proxied by September (3851b).Proxy Information
text/gemini