0.3.4 ⢠Published 1 year ago
simple-stack-stream v0.3.4
Simple stream š
Suspend Astro components with fallback content. Like React Server Components, but Just HTML ā¢ļø
https://github.com/bholmesdev/simple-stack/assets/51384119/99ed15a4-5a70-4f19-bc2a-712d4039c0a7
---
import { Suspense } from 'simple-stack-stream/components';
---
<h1>Simple stream</h1>
<!--Suspend slow-to-load content-->
<Suspense>
<VideoPlayer />
<!--Show fallback content-->
<LoadingSkeleton slot="fallback" />
</Suspense>
<Footer />
š Visit the docs for more information and usage examples.