Hannah Lindqvist

Hannah is a performance-focused frontend engineer with nine years building React applications, the last five exclusively on Next.js. She spent three years at Spotify on the Web Player team optimizing TTI on low-end devices in emerging markets, then two years at a Stockholm-based e-commerce platform where she rebuilt the storefront on App Router and edge runtime, hitting sub-200ms TTFB across European POPs. She currently freelances for DTC brands and SaaS companies that need a Core Web Vitals rescue, and occasionally contributes patches to next/font and the Vercel Speed Insights SDK. She has presented at React Advanced London and React Summit Amsterdam on streaming rendering patterns. Her tutorials are the ones with Lighthouse screenshots and flame graphs, because she doesn't trust benchmarks she can't reproduce. Strong preference for Playwright over Cypress and Vitest over Jest.

的文章 Hannah Lindqvist

教程 20 分钟阅读

Next.js Server Actions 完全指南:从原理到实战的深度解析

Server Actions 彻底改变了 Next.js 全栈开发方式。本文深度剖析其工作原理,涵盖 useActionState 表单处理、Zod + next-safe-action 类型安全验证、乐观更新、缓存策略,以及 React2Shell 安全漏洞应对方案,附完整评论系统实战案例。