Suspense & Streaming Generator

Community

Stream UI, show instant content, keep users engaged.

AuthorRomualdP
Version1.0.0
Installs0

System Documentation

What problem does it solves? This Skill addresses slow loading times and blank screens in web applications by implementing React Suspense and Next.js Streaming, providing immediate visual feedback and a smoother user experience during data fetching.

Core Features & Use Cases

  • Progressive Rendering: Displays fallback UI (skeletons) while asynchronous Server Components load, improving perceived performance.
  • Independent Streaming: Allows different sections of a page to load and stream independently, preventing a single slow component from blocking the entire page.
  • Skeleton Components: Guides on creating visually consistent skeleton loaders that match the final content structure.
  • Use Case: On a dashboard page with multiple data widgets (e.g., user stats, activity feed, team list), wrap each widget in <Suspense> to load them in parallel, showing a skeleton for each until its data is ready.

Quick Start

To add a loading state for an async Server Component, wrap it in <Suspense fallback={<MyComponentSkeleton />} /> where MyComponentSkeleton is a simple UI placeholder.

Dependency Matrix

Required Modules

reactnext

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Suspense & Streaming Generator
Download link: https://github.com/RomualdP/hoki/archive/main.zip#suspense-streaming-generator

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository