Fixing Extra Whitespace in Astro Components
Inline components in Astro can introduce unwanted spaces in the rendered HTML. Here’s how wrapping a custom link component in a fragment removed the extra whitespace.
Hi, I'm Piotr - The Dev.
I’m all about helping others write better code.
Inline components in Astro can introduce unwanted spaces in the rendered HTML. Here’s how wrapping a custom link component in a fragment removed the extra whitespace.
Granular Cloudflare purge support and runtime purger control now available in v0.1.1.
TypeScript is being rewritten in Go, offering up to 10x faster performance. It’s a drop-in replacement, launching with TypeScript 7. No code changes required!
After Airbnb’s TypeScript ESLint config was archived, I tested alternatives and found the perfect setup. Here’s my optimized ESLint configuration for TypeScript projects.
Radix Colors makes light and dark mode effortless in Tailwind CSS with automatic theming, better contrast, and semantic color scales. Learn how to integrate it and define custom colors.