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

[Flight] Implement prerender #30686

Merged
merged 1 commit into from
Aug 15, 2024
Merged

[Flight] Implement prerender #30686

merged 1 commit into from
Aug 15, 2024

Conversation

gnoff
Copy link
Collaborator

@gnoff gnoff commented Aug 14, 2024

Prerendering in flight is similar to prerendering in Fizz. Instead of receiving a result (the stream) immediately a promise is returned which resolves to the stream when the prerender is complete. The promise will reject if the flight render fatally errors otherwise it will resolve when the render is completed or is aborted.

Copy link

vercel bot commented Aug 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-compiler-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 15, 2024 7:27pm

@react-sizebot
Copy link

react-sizebot commented Aug 14, 2024

Comparing: 50d2197...0e948a1

Critical size changes

Includes critical production bundles, as well as any change greater than 2%:

Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable/react-dom/cjs/react-dom.production.js = 6.68 kB 6.68 kB = 1.83 kB 1.82 kB
oss-stable/react-dom/cjs/react-dom-client.production.js = 500.37 kB 500.37 kB = 89.80 kB 89.80 kB
oss-experimental/react-dom/cjs/react-dom.production.js = 6.69 kB 6.69 kB = 1.83 kB 1.83 kB
oss-experimental/react-dom/cjs/react-dom-client.production.js = 507.50 kB 507.50 kB = 90.96 kB 90.96 kB
facebook-www/ReactDOM-prod.classic.js = 595.24 kB 595.24 kB = 105.55 kB 105.55 kB
facebook-www/ReactDOM-prod.modern.js = 571.54 kB 571.54 kB = 101.75 kB 101.75 kB
oss-experimental/react-server-dom-esm/static.js +∞% 0.00 kB 0.19 kB +∞% 0.00 kB 0.16 kB
oss-experimental/react-server-dom-esm/static.node.js +∞% 0.00 kB 0.31 kB +∞% 0.00 kB 0.19 kB
oss-experimental/react-server-dom-turbopack/static.browser.js +∞% 0.00 kB 0.30 kB +∞% 0.00 kB 0.18 kB
oss-experimental/react-server-dom-turbopack/static.edge.js +∞% 0.00 kB 0.29 kB +∞% 0.00 kB 0.18 kB
oss-experimental/react-server-dom-turbopack/static.js +∞% 0.00 kB 0.19 kB +∞% 0.00 kB 0.16 kB
oss-experimental/react-server-dom-turbopack/static.node.js +∞% 0.00 kB 0.33 kB +∞% 0.00 kB 0.19 kB
oss-experimental/react-server-dom-turbopack/static.node.unbundled.js +∞% 0.00 kB 0.35 kB +∞% 0.00 kB 0.20 kB
oss-experimental/react-server-dom-webpack/static.browser.js +∞% 0.00 kB 0.29 kB +∞% 0.00 kB 0.18 kB
oss-experimental/react-server-dom-webpack/static.edge.js +∞% 0.00 kB 0.29 kB +∞% 0.00 kB 0.18 kB
oss-experimental/react-server-dom-webpack/static.js +∞% 0.00 kB 0.19 kB +∞% 0.00 kB 0.16 kB
oss-experimental/react-server-dom-webpack/static.node.js +∞% 0.00 kB 0.32 kB +∞% 0.00 kB 0.19 kB
oss-experimental/react-server-dom-webpack/static.node.unbundled.js +∞% 0.00 kB 0.34 kB +∞% 0.00 kB 0.20 kB
oss-stable-rc/react-server-dom-esm/static.js +∞% 0.00 kB 0.19 kB +∞% 0.00 kB 0.16 kB
oss-stable-rc/react-server-dom-esm/static.node.js +∞% 0.00 kB 0.31 kB +∞% 0.00 kB 0.19 kB
oss-stable-rc/react-server-dom-turbopack/static.browser.js +∞% 0.00 kB 0.30 kB +∞% 0.00 kB 0.18 kB
oss-stable-rc/react-server-dom-turbopack/static.edge.js +∞% 0.00 kB 0.29 kB +∞% 0.00 kB 0.18 kB
oss-stable-rc/react-server-dom-turbopack/static.js +∞% 0.00 kB 0.19 kB +∞% 0.00 kB 0.16 kB
oss-stable-rc/react-server-dom-turbopack/static.node.js +∞% 0.00 kB 0.33 kB +∞% 0.00 kB 0.19 kB
oss-stable-rc/react-server-dom-turbopack/static.node.unbundled.js +∞% 0.00 kB 0.35 kB +∞% 0.00 kB 0.20 kB
oss-stable-rc/react-server-dom-webpack/static.browser.js +∞% 0.00 kB 0.29 kB +∞% 0.00 kB 0.18 kB
oss-stable-rc/react-server-dom-webpack/static.edge.js +∞% 0.00 kB 0.29 kB +∞% 0.00 kB 0.18 kB
oss-stable-rc/react-server-dom-webpack/static.js +∞% 0.00 kB 0.19 kB +∞% 0.00 kB 0.16 kB
oss-stable-rc/react-server-dom-webpack/static.node.js +∞% 0.00 kB 0.32 kB +∞% 0.00 kB 0.19 kB
oss-stable-rc/react-server-dom-webpack/static.node.unbundled.js +∞% 0.00 kB 0.34 kB +∞% 0.00 kB 0.20 kB
oss-stable-semver/react-server-dom-esm/static.js +∞% 0.00 kB 0.19 kB +∞% 0.00 kB 0.16 kB
oss-stable-semver/react-server-dom-esm/static.node.js +∞% 0.00 kB 0.31 kB +∞% 0.00 kB 0.19 kB
oss-stable-semver/react-server-dom-turbopack/static.browser.js +∞% 0.00 kB 0.30 kB +∞% 0.00 kB 0.18 kB
oss-stable-semver/react-server-dom-turbopack/static.edge.js +∞% 0.00 kB 0.29 kB +∞% 0.00 kB 0.18 kB
oss-stable-semver/react-server-dom-turbopack/static.js +∞% 0.00 kB 0.19 kB +∞% 0.00 kB 0.16 kB
oss-stable-semver/react-server-dom-turbopack/static.node.js +∞% 0.00 kB 0.33 kB +∞% 0.00 kB 0.19 kB
oss-stable-semver/react-server-dom-turbopack/static.node.unbundled.js +∞% 0.00 kB 0.35 kB +∞% 0.00 kB 0.20 kB
oss-stable-semver/react-server-dom-webpack/static.browser.js +∞% 0.00 kB 0.29 kB +∞% 0.00 kB 0.18 kB
oss-stable-semver/react-server-dom-webpack/static.edge.js +∞% 0.00 kB 0.29 kB +∞% 0.00 kB 0.18 kB
oss-stable-semver/react-server-dom-webpack/static.js +∞% 0.00 kB 0.19 kB +∞% 0.00 kB 0.16 kB
oss-stable-semver/react-server-dom-webpack/static.node.js +∞% 0.00 kB 0.32 kB +∞% 0.00 kB 0.19 kB
oss-stable-semver/react-server-dom-webpack/static.node.unbundled.js +∞% 0.00 kB 0.34 kB +∞% 0.00 kB 0.20 kB
oss-stable/react-server-dom-esm/static.js +∞% 0.00 kB 0.19 kB +∞% 0.00 kB 0.16 kB
oss-stable/react-server-dom-esm/static.node.js +∞% 0.00 kB 0.31 kB +∞% 0.00 kB 0.19 kB
oss-stable/react-server-dom-turbopack/static.browser.js +∞% 0.00 kB 0.30 kB +∞% 0.00 kB 0.18 kB
oss-stable/react-server-dom-turbopack/static.edge.js +∞% 0.00 kB 0.29 kB +∞% 0.00 kB 0.18 kB
oss-stable/react-server-dom-turbopack/static.js +∞% 0.00 kB 0.19 kB +∞% 0.00 kB 0.16 kB
oss-stable/react-server-dom-turbopack/static.node.js +∞% 0.00 kB 0.33 kB +∞% 0.00 kB 0.19 kB
oss-stable/react-server-dom-turbopack/static.node.unbundled.js +∞% 0.00 kB 0.35 kB +∞% 0.00 kB 0.20 kB
oss-stable/react-server-dom-webpack/static.browser.js +∞% 0.00 kB 0.29 kB +∞% 0.00 kB 0.18 kB
oss-stable/react-server-dom-webpack/static.edge.js +∞% 0.00 kB 0.29 kB +∞% 0.00 kB 0.18 kB
oss-stable/react-server-dom-webpack/static.js +∞% 0.00 kB 0.19 kB +∞% 0.00 kB 0.16 kB
oss-stable/react-server-dom-webpack/static.node.js +∞% 0.00 kB 0.32 kB +∞% 0.00 kB 0.19 kB
oss-stable/react-server-dom-webpack/static.node.unbundled.js +∞% 0.00 kB 0.34 kB +∞% 0.00 kB 0.20 kB
oss-experimental/react-server-dom-esm/cjs/react-server-dom-esm-server.node.production.js +2.07% 90.94 kB 92.82 kB +1.89% 18.83 kB 19.19 kB

Significant size changes

Includes any change greater than 0.2%:

Expand to show
Name +/- Base Current +/- gzip Base gzip Current gzip
oss-experimental/react-server-dom-esm/static.js +∞% 0.00 kB 0.19 kB +∞% 0.00 kB 0.16 kB
oss-experimental/react-server-dom-esm/static.node.js +∞% 0.00 kB 0.31 kB +∞% 0.00 kB 0.19 kB
oss-experimental/react-server-dom-turbopack/static.browser.js +∞% 0.00 kB 0.30 kB +∞% 0.00 kB 0.18 kB
oss-experimental/react-server-dom-turbopack/static.edge.js +∞% 0.00 kB 0.29 kB +∞% 0.00 kB 0.18 kB
oss-experimental/react-server-dom-turbopack/static.js +∞% 0.00 kB 0.19 kB +∞% 0.00 kB 0.16 kB
oss-experimental/react-server-dom-turbopack/static.node.js +∞% 0.00 kB 0.33 kB +∞% 0.00 kB 0.19 kB
oss-experimental/react-server-dom-turbopack/static.node.unbundled.js +∞% 0.00 kB 0.35 kB +∞% 0.00 kB 0.20 kB
oss-experimental/react-server-dom-webpack/static.browser.js +∞% 0.00 kB 0.29 kB +∞% 0.00 kB 0.18 kB
oss-experimental/react-server-dom-webpack/static.edge.js +∞% 0.00 kB 0.29 kB +∞% 0.00 kB 0.18 kB
oss-experimental/react-server-dom-webpack/static.js +∞% 0.00 kB 0.19 kB +∞% 0.00 kB 0.16 kB
oss-experimental/react-server-dom-webpack/static.node.js +∞% 0.00 kB 0.32 kB +∞% 0.00 kB 0.19 kB
oss-experimental/react-server-dom-webpack/static.node.unbundled.js +∞% 0.00 kB 0.34 kB +∞% 0.00 kB 0.20 kB
oss-stable-rc/react-server-dom-esm/static.js +∞% 0.00 kB 0.19 kB +∞% 0.00 kB 0.16 kB
oss-stable-rc/react-server-dom-esm/static.node.js +∞% 0.00 kB 0.31 kB +∞% 0.00 kB 0.19 kB
oss-stable-rc/react-server-dom-turbopack/static.browser.js +∞% 0.00 kB 0.30 kB +∞% 0.00 kB 0.18 kB
oss-stable-rc/react-server-dom-turbopack/static.edge.js +∞% 0.00 kB 0.29 kB +∞% 0.00 kB 0.18 kB
oss-stable-rc/react-server-dom-turbopack/static.js +∞% 0.00 kB 0.19 kB +∞% 0.00 kB 0.16 kB
oss-stable-rc/react-server-dom-turbopack/static.node.js +∞% 0.00 kB 0.33 kB +∞% 0.00 kB 0.19 kB
oss-stable-rc/react-server-dom-turbopack/static.node.unbundled.js +∞% 0.00 kB 0.35 kB +∞% 0.00 kB 0.20 kB
oss-stable-rc/react-server-dom-webpack/static.browser.js +∞% 0.00 kB 0.29 kB +∞% 0.00 kB 0.18 kB
oss-stable-rc/react-server-dom-webpack/static.edge.js +∞% 0.00 kB 0.29 kB +∞% 0.00 kB 0.18 kB
oss-stable-rc/react-server-dom-webpack/static.js +∞% 0.00 kB 0.19 kB +∞% 0.00 kB 0.16 kB
oss-stable-rc/react-server-dom-webpack/static.node.js +∞% 0.00 kB 0.32 kB +∞% 0.00 kB 0.19 kB
oss-stable-rc/react-server-dom-webpack/static.node.unbundled.js +∞% 0.00 kB 0.34 kB +∞% 0.00 kB 0.20 kB
oss-stable-semver/react-server-dom-esm/static.js +∞% 0.00 kB 0.19 kB +∞% 0.00 kB 0.16 kB
oss-stable-semver/react-server-dom-esm/static.node.js +∞% 0.00 kB 0.31 kB +∞% 0.00 kB 0.19 kB
oss-stable-semver/react-server-dom-turbopack/static.browser.js +∞% 0.00 kB 0.30 kB +∞% 0.00 kB 0.18 kB
oss-stable-semver/react-server-dom-turbopack/static.edge.js +∞% 0.00 kB 0.29 kB +∞% 0.00 kB 0.18 kB
oss-stable-semver/react-server-dom-turbopack/static.js +∞% 0.00 kB 0.19 kB +∞% 0.00 kB 0.16 kB
oss-stable-semver/react-server-dom-turbopack/static.node.js +∞% 0.00 kB 0.33 kB +∞% 0.00 kB 0.19 kB
oss-stable-semver/react-server-dom-turbopack/static.node.unbundled.js +∞% 0.00 kB 0.35 kB +∞% 0.00 kB 0.20 kB
oss-stable-semver/react-server-dom-webpack/static.browser.js +∞% 0.00 kB 0.29 kB +∞% 0.00 kB 0.18 kB
oss-stable-semver/react-server-dom-webpack/static.edge.js +∞% 0.00 kB 0.29 kB +∞% 0.00 kB 0.18 kB
oss-stable-semver/react-server-dom-webpack/static.js +∞% 0.00 kB 0.19 kB +∞% 0.00 kB 0.16 kB
oss-stable-semver/react-server-dom-webpack/static.node.js +∞% 0.00 kB 0.32 kB +∞% 0.00 kB 0.19 kB
oss-stable-semver/react-server-dom-webpack/static.node.unbundled.js +∞% 0.00 kB 0.34 kB +∞% 0.00 kB 0.20 kB
oss-stable/react-server-dom-esm/static.js +∞% 0.00 kB 0.19 kB +∞% 0.00 kB 0.16 kB
oss-stable/react-server-dom-esm/static.node.js +∞% 0.00 kB 0.31 kB +∞% 0.00 kB 0.19 kB
oss-stable/react-server-dom-turbopack/static.browser.js +∞% 0.00 kB 0.30 kB +∞% 0.00 kB 0.18 kB
oss-stable/react-server-dom-turbopack/static.edge.js +∞% 0.00 kB 0.29 kB +∞% 0.00 kB 0.18 kB
oss-stable/react-server-dom-turbopack/static.js +∞% 0.00 kB 0.19 kB +∞% 0.00 kB 0.16 kB
oss-stable/react-server-dom-turbopack/static.node.js +∞% 0.00 kB 0.33 kB +∞% 0.00 kB 0.19 kB
oss-stable/react-server-dom-turbopack/static.node.unbundled.js +∞% 0.00 kB 0.35 kB +∞% 0.00 kB 0.20 kB
oss-stable/react-server-dom-webpack/static.browser.js +∞% 0.00 kB 0.29 kB +∞% 0.00 kB 0.18 kB
oss-stable/react-server-dom-webpack/static.edge.js +∞% 0.00 kB 0.29 kB +∞% 0.00 kB 0.18 kB
oss-stable/react-server-dom-webpack/static.js +∞% 0.00 kB 0.19 kB +∞% 0.00 kB 0.16 kB
oss-stable/react-server-dom-webpack/static.node.js +∞% 0.00 kB 0.32 kB +∞% 0.00 kB 0.19 kB
oss-stable/react-server-dom-webpack/static.node.unbundled.js +∞% 0.00 kB 0.34 kB +∞% 0.00 kB 0.20 kB
oss-experimental/react-server-dom-esm/cjs/react-server-dom-esm-server.node.production.js +2.07% 90.94 kB 92.82 kB +1.89% 18.83 kB 19.19 kB
oss-experimental/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.production.js +1.96% 94.15 kB 95.99 kB +1.24% 19.24 kB 19.48 kB
oss-experimental/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.production.js +1.95% 94.60 kB 96.44 kB +1.21% 19.35 kB 19.59 kB
oss-experimental/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.production.js +1.95% 94.47 kB 96.31 kB +1.22% 19.34 kB 19.57 kB
oss-experimental/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.production.js +1.95% 94.57 kB 96.41 kB +1.23% 19.35 kB 19.59 kB
oss-experimental/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.unbundled.production.js +1.94% 96.62 kB 98.49 kB +1.83% 19.71 kB 20.07 kB
oss-experimental/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.production.js +1.94% 96.60 kB 98.47 kB +1.85% 19.70 kB 20.07 kB
oss-experimental/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.production.js +1.93% 97.58 kB 99.46 kB +1.79% 19.91 kB 20.27 kB
oss-experimental/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.production.js +1.92% 97.55 kB 99.43 kB +1.80% 19.92 kB 20.28 kB
oss-experimental/react-server-dom-esm/cjs/react-server-dom-esm-server.node.development.js +1.50% 141.64 kB 143.76 kB +1.29% 26.14 kB 26.48 kB
oss-experimental/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.unbundled.development.js +1.43% 148.01 kB 150.12 kB +1.30% 27.11 kB 27.47 kB
oss-experimental/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.development.js +1.42% 148.17 kB 150.28 kB +1.30% 27.17 kB 27.53 kB
oss-experimental/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.development.js +1.42% 149.12 kB 151.24 kB +1.28% 27.38 kB 27.73 kB
oss-experimental/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.development.js +1.41% 149.27 kB 151.38 kB +1.28% 27.45 kB 27.80 kB
oss-experimental/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.development.js +1.40% 144.64 kB 146.67 kB +0.70% 26.68 kB 26.87 kB
oss-experimental/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.development.js +1.39% 145.26 kB 147.29 kB +0.71% 26.85 kB 27.05 kB
oss-experimental/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.development.js +1.38% 147.49 kB 149.51 kB +0.69% 27.05 kB 27.24 kB
oss-experimental/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.development.js +1.37% 147.64 kB 149.66 kB +0.69% 27.12 kB 27.30 kB
oss-stable-rc/react-server/cjs/react-server-flight.production.js +1.13% 56.24 kB 56.88 kB +1.41% 11.32 kB 11.48 kB
oss-stable-semver/react-server/cjs/react-server-flight.production.js +1.13% 56.24 kB 56.88 kB +1.41% 11.32 kB 11.48 kB
oss-stable/react-server/cjs/react-server-flight.production.js +1.13% 56.24 kB 56.88 kB +1.41% 11.32 kB 11.48 kB
oss-experimental/react-server/cjs/react-server-flight.production.js +1.06% 60.32 kB 60.96 kB +1.30% 12.05 kB 12.20 kB
oss-stable-rc/react-server/cjs/react-server-flight.development.js +0.59% 86.28 kB 86.79 kB +0.65% 16.00 kB 16.10 kB
oss-stable-semver/react-server/cjs/react-server-flight.development.js +0.59% 86.28 kB 86.79 kB +0.65% 16.00 kB 16.10 kB
oss-stable/react-server/cjs/react-server-flight.development.js +0.59% 86.28 kB 86.79 kB +0.65% 16.00 kB 16.10 kB
oss-stable-rc/react-server-dom-esm/cjs/react-server-dom-esm-server.node.production.js +0.57% 87.24 kB 87.74 kB +0.66% 18.16 kB 18.28 kB
oss-stable-semver/react-server-dom-esm/cjs/react-server-dom-esm-server.node.production.js +0.57% 87.24 kB 87.74 kB +0.66% 18.16 kB 18.28 kB
oss-stable/react-server-dom-esm/cjs/react-server-dom-esm-server.node.production.js +0.57% 87.24 kB 87.74 kB +0.66% 18.16 kB 18.28 kB
oss-stable-rc/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.production.js +0.54% 90.40 kB 90.89 kB +0.56% 18.59 kB 18.69 kB
oss-stable-semver/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.production.js +0.54% 90.40 kB 90.89 kB +0.56% 18.59 kB 18.69 kB
oss-stable/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.production.js +0.54% 90.40 kB 90.89 kB +0.56% 18.59 kB 18.69 kB
oss-stable-rc/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.production.js +0.54% 90.72 kB 91.21 kB +0.57% 18.68 kB 18.79 kB
oss-stable-semver/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.production.js +0.54% 90.72 kB 91.21 kB +0.57% 18.68 kB 18.79 kB
oss-stable/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.production.js +0.54% 90.72 kB 91.21 kB +0.57% 18.68 kB 18.79 kB
oss-stable-rc/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.production.js +0.54% 90.74 kB 91.23 kB +0.57% 18.69 kB 18.80 kB
oss-stable-semver/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.production.js +0.54% 90.74 kB 91.23 kB +0.57% 18.69 kB 18.80 kB
oss-stable/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.production.js +0.54% 90.74 kB 91.23 kB +0.57% 18.69 kB 18.80 kB
oss-stable-rc/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.production.js +0.54% 90.77 kB 91.26 kB +0.57% 18.69 kB 18.80 kB
oss-stable-semver/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.production.js +0.54% 90.77 kB 91.26 kB +0.57% 18.69 kB 18.80 kB
oss-stable/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.production.js +0.54% 90.77 kB 91.26 kB +0.57% 18.69 kB 18.80 kB
oss-stable-rc/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.production.js +0.54% 92.90 kB 93.40 kB +0.58% 19.06 kB 19.17 kB
oss-stable-semver/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.production.js +0.54% 92.90 kB 93.40 kB +0.58% 19.06 kB 19.17 kB
oss-stable/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.production.js +0.54% 92.90 kB 93.40 kB +0.58% 19.06 kB 19.17 kB
oss-stable-rc/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.unbundled.production.js +0.54% 92.92 kB 93.41 kB +0.58% 19.06 kB 19.17 kB
oss-stable-semver/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.unbundled.production.js +0.54% 92.92 kB 93.41 kB +0.58% 19.06 kB 19.17 kB
oss-stable/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.unbundled.production.js +0.54% 92.92 kB 93.41 kB +0.58% 19.06 kB 19.17 kB
oss-stable-rc/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.production.js +0.53% 93.85 kB 94.35 kB +0.57% 19.26 kB 19.37 kB
oss-stable-semver/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.production.js +0.53% 93.85 kB 94.35 kB +0.57% 19.26 kB 19.37 kB
oss-stable/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.production.js +0.53% 93.85 kB 94.35 kB +0.57% 19.26 kB 19.37 kB
oss-stable-rc/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.production.js +0.53% 93.88 kB 94.38 kB +0.56% 19.25 kB 19.36 kB
oss-stable-semver/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.production.js +0.53% 93.88 kB 94.38 kB +0.56% 19.25 kB 19.36 kB
oss-stable/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.production.js +0.53% 93.88 kB 94.38 kB +0.56% 19.25 kB 19.36 kB
oss-experimental/react-server/cjs/react-server-flight.development.js +0.50% 100.82 kB 101.32 kB +0.56% 18.50 kB 18.60 kB
oss-stable-rc/react-server-dom-esm/cjs/react-server-dom-esm-server.node.development.js +0.36% 126.35 kB 126.81 kB +0.37% 23.55 kB 23.64 kB
oss-stable-semver/react-server-dom-esm/cjs/react-server-dom-esm-server.node.development.js +0.36% 126.35 kB 126.81 kB +0.37% 23.55 kB 23.64 kB
oss-stable/react-server-dom-esm/cjs/react-server-dom-esm-server.node.development.js +0.36% 126.35 kB 126.81 kB +0.37% 23.55 kB 23.64 kB
oss-stable-rc/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.development.js +0.35% 130.11 kB 130.56 kB +0.38% 24.15 kB 24.24 kB
oss-stable-semver/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.development.js +0.35% 130.11 kB 130.56 kB +0.38% 24.15 kB 24.24 kB
oss-stable/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.development.js +0.35% 130.11 kB 130.56 kB +0.38% 24.15 kB 24.24 kB
oss-stable-rc/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.development.js +0.35% 130.73 kB 131.19 kB +0.38% 24.33 kB 24.42 kB
oss-stable-semver/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.development.js +0.35% 130.73 kB 131.19 kB +0.38% 24.33 kB 24.42 kB
oss-stable/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.development.js +0.35% 130.73 kB 131.19 kB +0.38% 24.33 kB 24.42 kB
oss-stable-rc/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.development.js +0.35% 131.31 kB 131.77 kB +0.39% 24.35 kB 24.44 kB
oss-stable-semver/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.development.js +0.35% 131.31 kB 131.77 kB +0.39% 24.35 kB 24.44 kB
oss-stable/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.development.js +0.35% 131.31 kB 131.77 kB +0.39% 24.35 kB 24.44 kB
oss-stable-rc/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.development.js +0.35% 131.46 kB 131.92 kB +0.38% 24.42 kB 24.51 kB
oss-stable-semver/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.development.js +0.35% 131.46 kB 131.92 kB +0.38% 24.42 kB 24.51 kB
oss-stable/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.development.js +0.35% 131.46 kB 131.92 kB +0.38% 24.42 kB 24.51 kB
oss-stable-rc/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.unbundled.development.js +0.35% 132.72 kB 133.18 kB +0.36% 24.50 kB 24.59 kB
oss-stable-semver/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.unbundled.development.js +0.35% 132.72 kB 133.18 kB +0.36% 24.50 kB 24.59 kB
oss-stable/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.unbundled.development.js +0.35% 132.72 kB 133.18 kB +0.36% 24.50 kB 24.59 kB
oss-stable-rc/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.development.js +0.35% 132.88 kB 133.34 kB +0.36% 24.57 kB 24.65 kB
oss-stable-semver/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.development.js +0.35% 132.88 kB 133.34 kB +0.36% 24.57 kB 24.65 kB
oss-stable/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.development.js +0.35% 132.88 kB 133.34 kB +0.36% 24.57 kB 24.65 kB
oss-stable-rc/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.development.js +0.34% 133.83 kB 134.30 kB +0.35% 24.77 kB 24.86 kB
oss-stable-semver/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.development.js +0.34% 133.83 kB 134.30 kB +0.35% 24.77 kB 24.86 kB
oss-stable/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.development.js +0.34% 133.83 kB 134.30 kB +0.35% 24.77 kB 24.86 kB
oss-stable-rc/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.development.js +0.34% 133.98 kB 134.44 kB +0.36% 24.84 kB 24.93 kB
oss-stable-semver/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.development.js +0.34% 133.98 kB 134.44 kB +0.36% 24.84 kB 24.93 kB
oss-stable/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.development.js +0.34% 133.98 kB 134.44 kB +0.36% 24.84 kB 24.93 kB

Generated by 🚫 dangerJS against 4900980

@gnoff gnoff force-pushed the flight-prerender branch from 47c1a7e to a7f5151 Compare August 14, 2024 22:15
@gnoff gnoff force-pushed the flight-prerender branch from a7f5151 to 3f04b24 Compare August 14, 2024 22:26
@gnoff gnoff force-pushed the flight-prerender branch 2 times, most recently from 76400c0 to e8d40ea Compare August 14, 2024 22:30
@gnoff gnoff force-pushed the flight-prerender branch from e8d40ea to 2d4f940 Compare August 14, 2024 22:34
@gnoff gnoff force-pushed the flight-prerender branch from 2d4f940 to b90b9a1 Compare August 14, 2024 22:39
@gnoff gnoff force-pushed the flight-prerender branch from b90b9a1 to f77261b Compare August 15, 2024 00:55
@gnoff gnoff force-pushed the flight-prerender branch from f77261b to 76e6197 Compare August 15, 2024 02:14
@gnoff gnoff force-pushed the flight-prerender branch from 76e6197 to ec7898e Compare August 15, 2024 02:19
@gnoff gnoff force-pushed the flight-prerender branch from ec7898e to 89b82fc Compare August 15, 2024 02:51
@gnoff gnoff force-pushed the flight-prerender branch from 89b82fc to 6f5eab2 Compare August 15, 2024 04:00
@gnoff gnoff marked this pull request as ready for review August 15, 2024 04:01
@gnoff gnoff force-pushed the flight-prerender branch from 6f5eab2 to 0a55ade Compare August 15, 2024 05:26
@@ -3752,6 +3766,11 @@ function performWork(request: Request): void {
logRecoverableError(request, error, null);
fatalError(request, error);
} finally {
if (request.abortableTasks.size === 0) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should be inside the catch.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

** he meant try **

Prerendering in flight is similar to prerendering in Fizz. Instead of receiving a result (the stream) immediately a promise is returned which resolves to the stream when the prerender is complete. The promise will reject if the flight render fatally errors otherwise it will resolve when the render is completed or is aborted.
@gnoff gnoff force-pushed the flight-prerender branch from 0a55ade to 4900980 Compare August 15, 2024 19:22
@gnoff gnoff merged commit fa6eab5 into facebook:main Aug 15, 2024
185 checks passed
@gnoff gnoff deleted the flight-prerender branch August 15, 2024 21:28
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