Skip to content

Fix streaming empty Suspense boundaries - #476

Merged
JoviDeCroock merged 2 commits into
mainfrom
fix/empty-streamed-boundary
Sep 7, 2026
Merged

JoviDeCroock merged 2 commits into
mainfrom
fix/empty-streamed-boundary

Conversation

@JoviDeCroock

@JoviDeCroock JoviDeCroock commented Sep 4, 2026

Copy link
Copy Markdown
Member

Summary

  • emit a subtree patch when a resolved Suspense boundary serializes to empty content
  • avoid emitting an empty or partial patch when the same boundary suspends again during a retry
  • cover null, false, empty string, and empty array results plus Web Stream and Node Stream adapter parity
  • add a patch changeset

@changeset-bot

changeset-bot Bot commented Sep 4, 2026

Copy link
Copy Markdown

馃 Changeset detected

Latest commit: 5b1d509

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

This PR includes changesets to release 1 package
Name Type
preact-render-to-string 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

@JoviDeCroock
JoviDeCroock merged commit b2a77e9 into main Sep 7, 2026
1 check passed
@JoviDeCroock
JoviDeCroock deleted the fix/empty-streamed-boundary branch September 7, 2026 12:14
@github-actions github-actions Bot mentioned this pull request Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant