Writing
Technical articles on web development and design
-
React Component Composition Patterns: Compound Components, Render Props & More
Master React component composition patterns with real-world examples. Learn compound components, render props, slots, and context patterns. Reduce props, increase flexibility, and build better design systems.
-
Modern CSS Features 2026: Container Queries, :has(), Cascade Layers & More
Complete guide to modern CSS features in 2026. Learn container queries, :has() selector, cascade layers, subgrid, OKLCH colors, and view transitions. Practical examples with browser support info.
-
React 19 New Features: Actions, use Hook, and Migration Guide
Complete React 19 guide covering new features: Actions API, use hook, document metadata, ref as prop, and more. Includes migration tips, breaking changes, and real-world examples from production apps.
-
TypeScript Generics in React Components: Complete Guide with Examples
Learn how to use TypeScript generics in React components with practical examples. Build reusable, type-safe components for Select, Table, and more. Includes best practices and common pitfalls to avoid.
-
Migrating from Next.js to Astro: Portfolio Performance Case Study
Complete guide to migrating a portfolio from Next.js to Astro. Reduced JavaScript from 85KB to 3KB, improved FCP by 66%. Includes performance metrics, migration steps, and honest pros/cons comparison.
-
What I learned building a UI library from scratch (the hard way)
I spent 1000+ hours building Pol-UI for my thesis. It got a 10/10 and a distinction. Here's what actually made it hard - and what I'd do differently.
-
Web Typography Guide: Google Fonts, Variable Fonts & Best Practices
Complete guide to web typography and font selection. Learn how to choose fonts, implement Google Fonts, use variable fonts, optimize performance, and improve readability for better user experience.