Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple suspense renderer 2024 #333

Merged
merged 10 commits into from
Feb 20, 2024
Merged

Conversation

JoviDeCroock
Copy link
Member

Supersedes #303

Copy link

changeset-bot bot commented Feb 8, 2024

🦋 Changeset detected

Latest commit: cf81587

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 Minor

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 6acc97a into main Feb 20, 2024
1 check passed
@JoviDeCroock JoviDeCroock deleted the simple-suspense-renderer-2024 branch February 20, 2024 09:34
@github-actions github-actions bot mentioned this pull request Feb 20, 2024
Comment on lines +67 to +69
if (e.then) {
throw new Error('Use "renderToStringAsync" for suspenseful rendering.');
}
Copy link
Member

@rschristian rschristian Mar 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only just noticed, this is a breaking change for all preact-iso users... do we want to downgrade this to a warning message instead of throwing an error, or just accept the breaking change in a minor?

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.

5 participants