
Our Blog
Explore our blog posts on web design, development, and digital marketing to stay up-to-date with the latest trends and strategies.
Found 112 blog posts
Passkeys in Production: What We Learned Shipping WebAuthn, Conditional UI, and RP ID Rules
A passkey is a WebAuthn credential permanently bound to one Relying Party ID. Our team traced almost every passkey bug back to three details: the RP ID matching rules, using an email as user.id, and expecting the browser autofill prompt without conditional mediation. These are our field notes from shipping passkeys on Next.js.
Modern CSS Replaced Our Layout JavaScript: Container Queries, :has(), and Subgrid in Production
Container queries, :has(), subgrid, and cascade layers let our team delete most of the layout JavaScript we used to ship — ResizeObserver wrappers, parent-class toggles, and height-measuring passes. Here is what each feature replaces, and the two we still treat as progressive enhancement.
Background Jobs on Vercel in 2026: How We Choose Between waitUntil, Queues, Workflow, and Cron
Serverless did not kill background work — it killed background work that outlives the response without telling the runtime. We break down the four deferred-execution primitives our team uses on Vercel, the failure each one tolerates, and the idempotency contract that at-least-once delivery forces on every consumer.
Running AI-Generated Code Safely: What We Learned Wiring Up Vercel Sandbox
Letting a model write and run its own code is a real product feature now, and it comes with a real threat model. Here's how we isolate that execution with Vercel Sandbox instead of running it inside our own Functions.
Testing Without Jest: How We Use the Native Node.js Test Runner
Node.js ships a built-in test runner that needs no dependencies and no config. How our team uses node:test, node:assert, and built-in mocking, runs TypeScript tests with no build step, and where we still keep Vitest.
Getting Typed JSON Out of LLMs: How We Use generateObject and the AI SDK
Language models return strings, not types. These are the Vercel AI SDK patterns our team uses to get schema-validated JSON out of a model every time: generateObject for extraction, streamObject for progressive UI, the four output modes, and NoObjectGeneratedError as a real code path.
Running TypeScript Natively in Node.js: How We Dropped the Build Step for Scripts
Node.js now executes TypeScript files directly through type stripping. Here is how our team moved scripts, configs, and cron jobs to native execution, how we keep code erasable with TypeScript 5.8's erasableSyntaxOnly flag, and why our NestJS services kept their build.
AbortController Beyond fetch: Cancellation Patterns We Use in Every React App
Uncancelled fetches do not fail loudly — they resolve late and overwrite fresh state. The AbortController patterns we use in every React app we ship: useEffect cleanup, AbortSignal.timeout(), AbortSignal.any(), and one-signal listener cleanup.
One API Key for Every Model: How We Use the Vercel AI Gateway
We removed three provider SDKs and three API keys after routing our AI SDK calls through the Vercel AI Gateway. Here is how string-based model routing works, when fallbacks earn their keep, and what the gateway actually replaces.
WebSockets on Vercel Functions: Real-Time Without a Separate Server
We stopped running a separate WebSocket server for realtime features once Vercel Functions started supporting them natively on Fluid Compute. Here's how the upgrade works, when it beats SSE, and what reconnection logic you still own yourself.
Next.js Middleware in 2026: Auth Guards, A/B Tests, and What Belongs at the Edge
We have debugged the same mistake across multiple projects: database calls in middleware.ts that make every matched request pay a round-trip cost before the route runs. Field notes on the patterns that belong at the edge — auth guards, A/B cookie bucketing, locale rewrites — and what does not.
Shipping Bilingual Next.js Apps in English and Arabic: Routing, RTL, and What Crawlers Actually See
We build almost every product in English and Arabic. Field notes from our team: why cookie-based language switching hides half your site from crawlers, URL-per-locale routing in the App Router, RTL layouts with CSS logical properties, and hreflang done right.
Stay Updated
Subscribe to our newsletter for the latest insights on web design, development, and digital marketing.