alirezasaremi.com logo
alirezasaremi.com logo

Alireza Saremi

Blog

Improve Every Line of Code You Write.

2026-04-15

AI

Build an AI Customer Support Chatbot with Next.js, Vercel AI SDK and AI Gateway

A practical step-by-step guide to building an AI customer support chatbot with Next.js, Vercel AI SDK, and AI Gateway. Learn streaming, API routes, support prompts, model switching, and basic error handling.

Vercel AIAI SDKAI GatewayNext.jsAI Chatbot

2026-04-01

AI

Vercel AI SDK & AI Gateway Explained: Building AI Apps Without Vendor Lock-In

A clear explanation of Vercel AI SDK and AI Gateway for Next.js developers. Learn how they work, why they matter, and how they help with streaming, provider switching, observability, cost control, and production AI architecture.

Vercel AIAI SDKAI GatewayNext.jsLLM

2026-03-15

AI

Claude Code vs OpenAI Codex: Which AI Coding Agent Should Developers Use?

A practical comparison of Claude Code and OpenAI Codex for developers. Learn how they differ in workflow, context handling, GitHub integration, instructions, safety, and real-world usage.

Claude CodeOpenAI CodexAI Coding AgentsDeveloper Tools

2026-02-01

Next.js

Cache Components in Practice: Replacing ISR and SSR the Right Way

A practical guide to Next.js 16 Cache Components. Learn how to replace ISR with explicit caching, mix cached and dynamic data, and revalidate content using tags with real-world examples.

Next.js 16Cache ComponentsCachingISRPerformance

2026-01-01

Next.js

What's New in Next.js 16: A Simple Guide for Developers

A simple and practical overview of Next.js 16. Learn about Turbopack, Cache Components, new caching APIs, Devtools MCP, and key breaking changes in an easy-to-understand way.

Next.js 16Web PerformanceFrontend Development

2025-09-25

Ecosystem

Monorepos, Microservices, and Modern Dev Workflow: Finding the Balance

Should your team use a monorepo, microservices, or both? Learn how modern tooling bridges the gap.

MonorepoMicroservicesDev WorkflowArchitecture

2025-09-03

React

State Management in 2025: Why You Might Not Need Redux or Zustand Anymore

Re-examining React state management in 2025 — lighter tools, signals, and the death of boilerplate.

ReactState ManagementReduxZustandSignals

2025-08-20

AI Ecosystem

MCP Servers vs RAG: Two Ways to Give Your AI a Memory

Compare MCP server architecture with RAG systems — learn how each extends an LLM’s context and memory.

AIMCPRAGArchitectureMemory

2025-08-07

Next.js

When to Skip Next.js Altogether: Lessons from Over-Engineered Apps

Not every project needs Next.js. Learn when simplicity beats complexity in web architecture.

Next.jsArchitectureSimplicityWeb Performance

2025-07-25

React

React Server Components: Rethinking the Boundaries Between Frontend and Backend

A conceptual deep dive into how React Server Components blur the line between frontend and backend.

ReactRSCServer ComponentsNext.js