My blog got popular, and my bandwidth exploded to ~300GB in just 10 days
This made me take a good, hard look at my Astro blog and start optimizing: assets, headers, caching, CDN. Here is exactly what I did to fix it.
This made me take a good, hard look at my Astro blog and start optimizing: assets, headers, caching, CDN. Here is exactly what I did to fix it.
I spent three days building a custom ESLint rule and accidentally learned how JavaScript actually works. ESLint is just walking your code's syntax tree and running functions against each node. Once you see it, you can enforce any coding standard automatically instead of arguing about it in PR reviews.
Before you write another useEffect, ask one question: is this syncing with an external system? If not, there's a better way.
After running a 30-day React deep-dive, these are the 10 patterns that changed how I write components, manage state, and think about performance.
Skeleton screens break every time you touch the UI. Here's how to build one that reads the DOM and keeps itself in sync automatically.
I started naming my useEffect functions about a year ago. It changed how I read components, how I debug them, and eventually how I structure them.