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

(react/preact) - Fix suspense-ssr runs #1138

Merged
merged 2 commits into from
Nov 8, 2020
Merged

(react/preact) - Fix suspense-ssr runs #1138

merged 2 commits into from
Nov 8, 2020

Conversation

JoviDeCroock
Copy link
Collaborator

Summary

When using Suspense on ssr-runs/interrupted runs effects won't be run, also when subsequent prepasses happen we can't be caching

Fixes #1136

Set of changes

  • Don't cache suspenseful operations during ssr on Preact and React

@changeset-bot
Copy link

changeset-bot bot commented Nov 8, 2020

🦋 Changeset detected

Latest commit: fa0646a

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

This PR includes changesets to release 2 packages
Name Type
@urql/preact Patch
urql 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 requested a review from kitten November 8, 2020 14:35
.changeset/cool-news-buy.md Outdated Show resolved Hide resolved
@kitten kitten changed the title fix suspense-ssr runs (react/preact) - Fix suspense-ssr runs Nov 8, 2020
@JoviDeCroock JoviDeCroock merged commit bba7aec into main Nov 8, 2020
@JoviDeCroock JoviDeCroock deleted the ssr branch November 8, 2020 14:59
@github-actions github-actions bot mentioned this pull request Nov 8, 2020
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.

2 participants