Skip to content

[Flight] Move bundler configs to use Suspense instead of returning thenable #18367

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

Merged
merged 2 commits into from
Mar 22, 2020

Conversation

sebmarkbage
Copy link
Collaborator

Follow up to the bundler configs after #18362

Instead of returning a thenable and let React deal with Suspense we can now simplify things a lot by just throwing a Promise or Error if we're not ready yet.

@sebmarkbage sebmarkbage requested a review from gaearon March 22, 2020 00:21
@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels Mar 22, 2020
@codesandbox-ci
Copy link

codesandbox-ci bot commented Mar 22, 2020

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.

Latest deployment of this branch, based on commit 1e91416:

Sandbox Source
little-wave-lzm7m Configuration

@sizebot
Copy link

sizebot commented Mar 22, 2020

No significant bundle size changes to report.

Size changes (experimental)

Generated by 🚫 dangerJS against 1e91416

@sizebot
Copy link

sizebot commented Mar 22, 2020

No significant bundle size changes to report.

Size changes (stable)

Generated by 🚫 dangerJS against 1e91416

@sebmarkbage sebmarkbage merged commit c0cd1be into facebook:master Mar 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed React Core Team Opened by a member of the React Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants