From 2520d2f828088c9e51b5cb15cf36c4a30c41f033 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 1 Feb 2026 15:22:27 +0000 Subject: [PATCH] docs: fix incorrect import latency description The latency from upfront module loading only impacts the first request, not every request, because modules are cached after initial import. https://claude.ai/code/session_01FQ6AZeMXDeW6qkfbMCehes --- packages/docs/src/pages/learn/LazyServerComponents.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docs/src/pages/learn/LazyServerComponents.mdx b/packages/docs/src/pages/learn/LazyServerComponents.mdx index 3ef0925..8bf28cc 100644 --- a/packages/docs/src/pages/learn/LazyServerComponents.mdx +++ b/packages/docs/src/pages/learn/LazyServerComponents.mdx @@ -25,7 +25,7 @@ export default function App() { } ``` -In a large application with many routes, this upfront loading adds latency to every request, even though only one route's component will actually render. +In a large application with many routes, this upfront loading adds latency to the first request, even though only one route's component will actually render. While use of [defer()](./optimizing-payloads) helps reducing initial load by deferring _rendering_ of route components, the work to _import_ those components still happens immediately.