Afzal Zubair
BlogAbout
#next.js

Posts tagged "next.js"

4 articles

Why Your LLM App Feels Slow (And It's Not the Model)
AIReactPerformance

Why Your LLM App Feels Slow (And It's Not the Model)

An LLM generating 50 tokens/second isn't slow — but if your UI makes the user stare at a spinner for the first 2 seconds, it feels slow. Most LLM latency is a UX problem, not an infrastructure problem.

April 5, 20266 min read
TypeScript Patterns I Actually Use in Production AI Apps
TypeScriptAIReact

TypeScript Patterns I Actually Use in Production AI Apps

AI SDK types are a mess if you let them be. Here are the TypeScript patterns I've settled on for handling streaming responses, tool calls, and structured LLM output without losing type safety.

March 8, 20266 min read
Getting Started with AI and LLMs in Your Web App
AILLMsNext.js

Getting Started with AI and LLMs in Your Web App

Learn how to integrate large language models into your Next.js application using the Vercel AI SDK, with streaming responses and a clean API design.

December 15, 20253 min read
Getting Started with Next.js 15 and the App Router
Next.jsReactWeb Development

Getting Started with Next.js 15 and the App Router

A beginner-friendly introduction to Next.js 15 and the App Router. Learn how to structure your application, create layouts, and build your first pages.

October 15, 20253 min read
Afzal Zubair

AI & full-stack engineering. Thoughts on LLMs, voice AI, and modern web development.

Navigation

  • Home
  • Blog
  • About

© 2026 Afzal Zubair. Built with Next.js & Tailwind CSS.