Blog
Engineering decisions, with the numbers.
What we measured, what we changed, and what we got wrong first. Every post here comes out of work we actually did.
Next.jsPerformanceServer Actions
- 6 min read
Deleting one animation loop cut our mobile LCP from 2.1s to 86ms
We assumed webfonts were slowing the page down. We measured, and we were wrong — the cost was a requestAnimationFrame loop running on devices that had nothing to render.
PerformanceNext.js - 4 min read
The 'use server' rule that crashed our production build
A file marked "use server" may only export async functions. Export a constant from one and it silently becomes undefined at runtime — which is exactly how it reached our build.
Next.jsServer Actions
Subscribe via RSS.
