Writing
Notes on the stacks and problems I work with.
React Query vs Native fetch for Vite Apps: Which Should You Choose?
Choosing how to fetch data in your Vite and React app can slow down development. Here is a practical comparison of Native fetch and React Query to help you decide.
How to Fix N+1 Queries in Laravel and Inertia.js React Apps
Learn how the N+1 query problem destroys your database performance and how to fix it using Laravel eager loading. This beginner-friendly guide walks you through a real code example.
React Context vs Zustand: State Management in TypeScript and Tailwind Apps
Choosing the right state management tool for your React, TypeScript, and Tailwind app can be tricky. This guide compares React Context and Zustand with practical code examples to help you pick the best one.
Render Native Builds vs Dockerfile Deployments: Which Should You Choose?
Compare Render's native buildpacks and Dockerfile deployments to find the right fit for your CI/CD pipeline. Learn how to choose the best option for speed, control, and your specific project needs.
Fixing a Docker Health Check Failure on Render CI/CD
Learn how I debugged a silent crash caused by a missing Node.js dependency in a Docker container during a Render deployment. Follow my step-by-step troubleshooting process to fix your own CI/CD pipeline issues.
React Query vs Native fetch for Vite and REST APIs
Should you install a heavy data-fetching library or stick to the browser's native fetch in your Vite app? This practical guide compares both approaches with real code.
What's New in Python, Django, and PostgreSQL for Day-to-Day Coding
Discover the most practical new features in Python, Django, and PostgreSQL that will actually save you time today. Learn how to write cleaner queries, better type hints, and faster database operations.
What N+1 Queries Are and How to Fix Them in Your App
Learn why your database slows down as your app grows and how a simple fix can speed up your queries. We will break down N+1 queries using plain language and real code examples.
How to Build a Searchable Dropdown with Debounce in React and Vite
Learn how to build a searchable dropdown component with debounce in React and Vite. Connect it to a REST API to fetch live search results without overloading the server.