Skip to content

docs: lazy load docs pages using defer() for smaller initial payload#76

Merged
uhyo merged 1 commit intomasterfrom
claude/lazy-load-docs-pages-9ga2l
Feb 7, 2026
Merged

docs: lazy load docs pages using defer() for smaller initial payload#76
uhyo merged 1 commit intomasterfrom
claude/lazy-load-docs-pages-9ga2l

Conversation

@uhyo
Copy link
Owner

@uhyo uhyo commented Feb 7, 2026

Each leaf page component is now wrapped with defer() from @funstack/static/server,
splitting the RSC payload into separate chunks per page. Parent shell routes
(Layout, LearnPage, ApiReferencePage) remain eagerly loaded since they provide
the navigation structure needed on every page.

https://claude.ai/code/session_01AJi8siKh4gT42iSCVCnCtj

Each leaf page component is now wrapped with defer() from @funstack/static/server,
splitting the RSC payload into separate chunks per page. Parent shell routes
(Layout, LearnPage, ApiReferencePage) remain eagerly loaded since they provide
the navigation structure needed on every page.

https://claude.ai/code/session_01AJi8siKh4gT42iSCVCnCtj
@uhyo uhyo merged commit aac1622 into master Feb 7, 2026
1 check passed
@uhyo uhyo deleted the claude/lazy-load-docs-pages-9ga2l branch February 7, 2026 05:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants