#javascript
Here are my latest articles filed under javascript. Showing page 1 of 1 (5 total articles).
Why the built-in Date object still trips me up and Temporal saves the day
I finally stopped fighting the Date object by switching to Temporal. Here’s how it works and why you should adopt it today.
Why innerHTML XSS Still Happens and How to Stop It Safely
innerHTML is convenient but dangerous; discover the hidden XSS traps and a solid way to sanitize content before inserting it into the DOM.
Micro-frontends in Web Workers: How to Run Multiple Frameworks on One Page Without a Runtime Penalty
I built a page that runs React, Vue and Svelte side‑by‑side in Web Workers, eliminating the usual bundle size hit.
Why localStorage Can Block the Main Thread and How to Use It Wisely
localStorage looks simple, but each read or write can pause your page. Discover why and how to keep your UI smooth.
Understanding TypeScript Type Guards and Avoiding Silent Drift
A clear guide to TypeScript type guards, their purpose, common drift issues, and practical tips to keep them in sync with your types.
Need help building a website?
Send me a message and let's talk.