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

fix: Only suspend when using the fallback #3045

Merged
merged 2 commits into from
Dec 5, 2024
Merged

fix: Only suspend when using the fallback #3045

merged 2 commits into from
Dec 5, 2024

Conversation

shuding
Copy link
Member

@shuding shuding commented Dec 4, 2024

Currently we always suspend (via use()) when there's a promise shape fallback provided. This is not necessary when we're not using fallback at all, like when the cache already exists.

@shuding shuding requested a review from huozhi as a code owner December 4, 2024 23:30
Copy link

codesandbox-ci bot commented Dec 4, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@huozhi huozhi merged commit b30df29 into main Dec 5, 2024
7 checks passed
@huozhi huozhi deleted the shu/ew59 branch December 5, 2024 09:43
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