We chose database-backed drafts over localStorage, separated draft validation from submission validation, and worked through some interesting authentication and state-management bugs.
We chose database-backed drafts over localStorage, separated draft validation from submission validation, and worked through some interesting authentication and state-management bugs.
https://github.com/deepseek-ai/chat-demo
https://github.com/deepseek-ai/chat-demo
Practising JavaScript with localStorage, map(), filter(), try...catch, and data validation.
Learning to build reliable applications, one feature at a time.
Enjoy the process. 🚀
#JavaScript #100DaysOfCode
Practising JavaScript with localStorage, map(), filter(), try...catch, and data validation.
Learning to build reliable applications, one feature at a time.
Enjoy the process. 🚀
#JavaScript #100DaysOfCode
github.com/mastodon/mas…
github.com/mastodon/mas…
I built a secure UUID deviceId system using Zustand + LocalStorage. But the API kept throwing 400 Bad Requests
I built a secure UUID deviceId system using Zustand + LocalStorage. But the API kept throwing 400 Bad Requests
const user = JSON.parse(raw) as User;
This compiles even if raw is "{}". Nothing is checked at runtime. For data crossing a boundary (API, localStorage), validate with a type guard or a schema library first.
const user = JSON.parse(raw) as User;
This compiles even if raw is "{}". Nothing is checked at runtime. For data crossing a boundary (API, localStorage), validate with a type guard or a schema library first.
HttpOnly + Secure cookies keep the token out of JavaScript.
Short tip: abbilabs.xyz/tips/httponl...
#AppSec #vibecoding #webdev #javascript #SaaS #buildinpublic #security #Cursor
HttpOnly + Secure cookies keep the token out of JavaScript.
Short tip: abbilabs.xyz/tips/httponl...
#AppSec #vibecoding #webdev #javascript #SaaS #buildinpublic #security #Cursor
https://www.sitepoint.com/nextjs-hydration-error-localstorage/?ref=dxsrc.org
#nextjs #hydration #browserstorage
https://www.sitepoint.com/nextjs-hydration-error-localstorage/?ref=dxsrc.org
#nextjs #hydration #browserstorage
CVE ID : CVE-2026-129541
Published : Nov. 16, 2026, 1:50 a.m. | 29 minutes ago
Description : EdgeChat 2.5.0 through 2.21.0 contains a cross-site scripting vulnerability that allows in...
CVE ID : CVE-2026-129541
Published : Nov. 16, 2026, 1:50 a.m. | 29 minutes ago
Description : EdgeChat 2.5.0 through 2.21.0 contains a cross-site scripting vulnerability that allows in...