Dmitry Sheiko's Web Development Blog

AI

Browser AI APIs in Practice: Building a Multilingual Support Inbox

A mock support inbox that detects the language, translates, triages and drafts replies with Chrome's built-in AI APIs, all on the device. How each API is used, with code from the demo and what Gemini Nano actually returned.

· 9 min read

AI

Migrating Legacy Apps to Next.js with Claude Code

Over the past year I migrated a handful of legacy projects to Next.js with Claude Code. Along the way I settled on a workflow that keeps working: two agent spec files for architecture and admin UI conventions, one migration prompt, then a Playwright and pixel-diff loop to eliminate the visual regressions left after the first pass.

Design Patterns

React Design Patterns: A Practical Reference

Six patterns that keep showing up in React code: Composition, Custom Hooks, Provider, Compound Components, Server/Client separation and Suspense. Each comes with an everyday analogy, a short code sample and a diagram, plus the catches worth knowing about.

AI

Claude Code Beyond the Basics: Skills, Rules, and Agents

Claude Code refactors components, writes tests, reviews diffs and upgrades dependencies with almost no setup. It gets far more reliable once it knows how your project works. Permissions, CLAUDE.md, rules, commands, skills and agents, with working examples.

React

Tables and Modals in Next.js 16: Preserving State

Data tables with edit modals in Next.js 16 that keep their state: an optional catch-all route, intercepting routes, and the layout plus dynamic route setup I ended up with, which preserves pagination and filters and still gives every record its own URL.

Testing & QA

Optimizing End-to-End Testing with Playwright

E2E tests are easy to write and hard to keep fast and reliable. How I structure Playwright tests with fixtures, test login flows and data tables, check responsive layouts and visual regressions, and set a Lighthouse performance budget.