What I Like About Astro
What Stuck Out While Migrating My Blog from Next.js to Astro
Read ItWhat Stuck Out While Migrating My Blog from Next.js to Astro
Read ItI’ve been a vocal opponent of using Disqus for a number of reasons, one of which being what it does to the performance of your website. It’s actually one of the reasons I built an alternative.Despite that, it’s a widely used service that won’t be going away anytime soon. And
Read ItI remember when I first started to get a little more serious about blogging. It was with a statically generated Gatsby site, with posts stored in flat Markdown files, and deployed on Netlify. I loved it. But I knew it was still missing something I wanted: a way for readers
Read ItIf you’ve worked with React for any length of time, you’ve probably heard of the infamous useLayoutEffect() hook. You’ve also probably never used it. That’s because for most cases, useEffect() covers the vast majority of use cases with a much lower chance of shooting yourself in the foot. In fact,
Read ItI recently made a pretty big change on my website. For the first time ever, my posts don’t live in Markdown files. Instead, they’re all in Notion, the tool I’ve been using to draft posts for quite some time now. It’s nice being able to have a top-notch writing experience
Read ItIf you haven’t noticed, we’re in a bit of a server-rendered resurgence right now. It seems like the heyday of the Jamstack, and more specifically, static site generation (SSG) is behind us, and the pendulum is once again swinging toward more traditional paradigms. Namely: HTML that’s generated on demand/request rather
Read ItHarken back to a time when you needed to execute some code a specific number of times and had some reason to not use a for loop. You might’ve made a fresh array with a certain number of items, and then attempted to .forEach() over it: const freshArray = new Array(5);freshArray.forEach(item
Read ItThere are serious benefits to building small applications in the context of a complex, remote page. Vite makes it pretty simple to pull it off.
Read ItA few months ago, I stumbled across Goodhart’s Law: When a measure becomes a target, it ceases to be a good measure.An example: The owner of a business wants his company to become a reputable brand on Twitter. To get there, he begins rewarding his social team for the number of
Read ItNo matter how many times I revisit it, I have pretty consistent track record of being tripped up by how JavaScript assigns values to variables.Primitives: Assigned by ValuePrimitive values (numbers, strings, etc.) are assigned by value, meaning that assigning one variable to another variable assigned to a primitive value will
Read It