Engineering

RSC-safe components: keeping your bundle under 12 kB

Tree-shakeable, server-component-safe and strictly typed: how the Odyssey core stays under 12 kB gzipped no matter how much you import.

Marcus Lee

Marcus Lee

Apr 22, 2026 · 6 min read

RSC-safe components: keeping your bundle under 12 kB

Bundle size is a feature. Odyssey components are tree-shakeable, server-component-safe and strictly typed, so the core ships under 12 kB gzipped. You import what you use and nothing else tags along.

Why it matters

Odyssey is built code-first: strict types, RSC-safe components and a bundle budget measured in kilobytes. Everything in this post follows from that one decision: design and code share the same tokens, so what you see in Figma is what ships to production.

Where to go next

Browse the blocks library to see these ideas in practice, or wire up the MCP server so your AI tools build against the real component API instead of guessing. Either way, you own the code, with no lock-in.

Continue reading

The Odyssey Dispatch

Be first in, and 10% off.

Join the list and we’ll email you the moment the code library and MCP server go live — with a 10% discount code to use whenever you decide to buy.

One email when it ships. No spam, and you can unsubscribe anytime.