ANTIGRAVITY LABJP
TAG

nextjs

4 articles
Back to all tags
Related:
antigravity4cloudflare1edge-cache1ssr1server-actions1zod1security1app-dev1better-auth1authentication1typescript1rbac1
App Dev/2026-06-14Advanced

When the Edge Cache Pinned Next.js Error Pages: A cache-worker Guard Design

Users reported intermittent 'failed to load' errors I could never reproduce. The cause: SSR exceptions shipped as HTTP 200 and pinned by the edge cache. Here is how I narrowed it down with an Antigravity agent and added a cache-worker guard to stop it.

App Dev/2026-05-02Intermediate

Stopping Server Action Foot-Guns Before Antigravity Ships Them — Zod, revalidate, and Authorization Built In From the First Draft

Ask Antigravity to write a Next.js Server Action and you'll often get back code with no Zod parsing, no revalidate call, and no authorization check. Here's how to bake those in from the start instead of patching them on later.

App Dev/2026-04-30Advanced

Antigravity × Better Auth: Building a Modern TypeScript Auth Stack End-to-End

End the NextAuth fatigue with Better Auth. A practical Antigravity-driven guide that ships schema generation, OAuth, RBAC, and Passkeys with production-ready patterns.

App Dev/2026-04-28Intermediate

Diagnosing and Fixing HMR (Hot Reload) Failures in Antigravity

A practical, step-by-step diagnostic for hot module replacement failures in Antigravity, covering file watchers, ports and proxies, build-tool config, and editor-specific quirks.