What problem does it solve?
Performance optimization patterns for Mandu applications to reduce latency, shrink bundles, and improve overall runtime efficiency by guiding how to structure async work, caching, and rendering.
Core Features & Use Cases
- Async optimization using Promise.all and early awaits to minimize network latency.
- Bundle and island optimization via direct imports and dynamic loading to reduce initial payload.
- Caching strategies using React.cache() and LRU caches to avoid duplicate work and data fetches.
- Bun runtime tuning and streaming patterns to maximize throughput on Bun.
- Rendering improvements for island hydration and startTransition-based updates to prevent UI blocking.
- Example: Optimize a dashboard that fetches user data, posts, and analytics in parallel and lazy-load heavy components.
Quick Start
Apply Mandu-performance guidelines to your app to optimize async operations, code-splitting, and caching for faster, more reliable executions.