Zero Bundle Size Rsc

Minimizing client bundles through aggressive use of Server Components and streaming protocols.

majiayu000 Updated 567 repo stars

File contents

Zero-Bundle-Size React Server Components

Summary

Minimizing client bundles through aggressive use of Server Components and streaming protocols.

Key Capabilities

  • Partition application graphs into Server/Client subtrees.
  • Eliminate data-fetching libraries from client bundles.
  • Serialize complex data structures across the network boundary.

PhD-Level Challenges

  • Formalize the serialization constraints of Server Components.
  • Analyze the bandwidth vs. CPU trade-off of RSC payloads.
  • Implement a dynamic import strategy for polymorphic server components.

Acceptance Criteria

  • Show a reduction in initial JS execute time.
  • Demonstrate zero client-side JS for static subtrees.
  • Provide a report on payload size reduction.

majiayu000/claude-skill-registry-data/tree/main/data/zero-bundle-size-rsc commit 239e021ecb

Frequently asked questions

npx skillmds@latest add majiayu000/zero-bundle-size-rsc