Next.js & frontend
22 posts on Next.js & frontend: Server Components, caching, route handlers and design tokens. Practical guides by Derar Sattouf.

Next.js and MySQL in 2026: Connection Pool, Queries and Server Actions
MySQL in the Next.js 16 App Router without an API layer: a single mysql2 pool, reads in Server Components, cached reads with use cache, writes in Server Actions, transactions, and connection limits on serverless.

Svelte vs Vue in 2026: Reactivity, Bundle Size and Ecosystem
Svelte 5 and Vue 3 compared with the same cart feature in each: runes vs refs, shared state, two-way binding, bundle size, SvelteKit 3 vs Nuxt 4, libraries and hiring.

Adding Arabic and RTL to a Next.js App Router Site
Adding Arabic to a Next.js 16 App Router site without moving English URLs: two root layouts, hreflang, logical CSS, fonts and a 404 that broke on the way.

Playwright End-to-End Testing: Reliable Suites, Fixtures, Auth and CI at Scale
Playwright for reliable CI: project layout, getByRole locators, fixtures, storageState auth, isolation, API mocking, visual and a11y checks, sharding and flake triage.

React 19 in Practice: Actions, Forms and useOptimistic Patterns
React 19 form Actions, optimistic UI recipes, use(), ref as prop, metadata, Zod validation, TanStack Query vs RSC, testing, migration and pitfalls.

Web Accessibility for Developers: WCAG 2.2, ARIA and Testing
Accessibility for engineers: WCAG 2.2 changes, semantic HTML first, ARIA done right, keyboard patterns in HTML and React, axe and Playwright tests, CI gates.

Tailwind CSS v4 Migration: CSS-First Config and Design Tokens
Tailwind v4: what changed, a safe migration path, a semantic token architecture for light, dark and multi-brand themes, component patterns, performance and contrast.

Next.js Server Components and Caching: Data Fetching Patterns
Next.js 16 patterns: Server and Client Components, Suspense streaming, Cache Components (use cache, cacheLife, cacheTag), revalidation, Server Actions, security.

Next.js Security Upgrades in 2026: A Dependency Checklist
How to keep Next.js apps secure in 2026: framework upgrades, build-log warnings, npm audit reports, deploy verification and rollback planning.

React Compiler in 2026: What Changes for Frontend Teams
How to adopt React Compiler in 2026: what it fixes and what it doesn't, migration strategy, linting, testing, and when teams should wait.

Using Animations in Vue in 2026
When to animate in Vue and which tool fits: built-in transitions, CSS, GSAP, VueUse Motion or Auto-Animate, plus performance, accessibility and SSR rules.

Animating React Apps in 2026
When CSS is enough, when to use Motion, React Spring or GSAP, and how to keep animations accessible and fast, including React 19.3's stable ViewTransition.