bholmesdev / simple-stack

🌱 Web apps made simple
https://simple-stack.dev
Other
281 stars 6 forks source link

stream: Support parallel Suspense #44

Closed bholmesdev closed 7 months ago

bholmesdev commented 7 months ago

Update simple:stream internals to support parallel Suspense boundaries and fix nested Suspense edge cases.

Changes

Refactor from a blocking loop over suspense calls to a ReadableStream. The Suspense component and push new jobs to this stream with Astro.locals.suspend.

changeset-bot[bot] commented 7 months ago

🦋 Changeset detected

Latest commit: 08b907c964412110f6c089e09b4cba61431aafbf

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages | Name | Type | | -------------------- | ----- | | simple-stack-stream | Minor | | @examples/playground | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

vercel[bot] commented 7 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
simple-stack-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 4, 2024 0:01am