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

Upgrade Server Actions to canary #27459

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

acdlite
Copy link
Collaborator

@acdlite acdlite commented Oct 4, 2023

Upgrades the stability of Server Actions from experimental to canary.

  • Turns on enableAsyncActions and enableFormActions
  • Removes "experimental_" prefix from useOptimistic, useFormStatus, and useFormState

@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels Oct 4, 2023
@acdlite acdlite marked this pull request as ready for review October 4, 2023 18:35
Upgrades the stability of Server Actions from experimental to canary.

- Turns on enableAsyncActions and enableFormActions
- Removes "experimental_" prefix from useOptimistic, useFormStatus,
and useFormState
@react-sizebot
Copy link

Comparing: 88d56b8...9a9a0a5

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.min.js +4.12% 167.58 kB 174.48 kB +4.11% 52.14 kB 54.28 kB
oss-experimental/react-dom/cjs/react-dom.production.min.js = 176.22 kB 176.19 kB = 54.84 kB 54.84 kB
facebook-www/ReactDOM-prod.classic.js = 564.51 kB 564.48 kB = 99.38 kB 99.37 kB
facebook-www/ReactDOM-prod.modern.js = 548.23 kB 548.21 kB = 96.46 kB 96.44 kB
oss-stable-semver/react-dom/unstable_server-external-runtime.js +18.82% 2.80 kB 3.33 kB +18.55% 1.26 kB 1.49 kB
oss-stable/react-dom/unstable_server-external-runtime.js +18.82% 2.80 kB 3.33 kB +18.55% 1.26 kB 1.49 kB
oss-stable-semver/react-dom/cjs/react-dom-server-rendering-stub.development.js +8.20% 15.88 kB 17.18 kB +14.20% 3.51 kB 4.01 kB
oss-stable/react-dom/cjs/react-dom-server-rendering-stub.development.js +8.19% 15.90 kB 17.20 kB +14.07% 3.54 kB 4.04 kB
oss-stable-semver/react-dom/umd/react-dom-server-rendering-stub.development.js +7.98% 16.72 kB 18.06 kB +13.86% 3.63 kB 4.13 kB
oss-stable/react-dom/umd/react-dom-server-rendering-stub.development.js +7.97% 16.75 kB 18.08 kB +13.73% 3.66 kB 4.16 kB
oss-stable-semver/react-dom/cjs/react-dom-server-legacy.browser.production.min.js +6.33% 67.27 kB 71.53 kB +9.19% 19.99 kB 21.83 kB
oss-stable/react-dom/cjs/react-dom-server-legacy.browser.production.min.js +6.32% 67.30 kB 71.55 kB +9.18% 20.02 kB 21.85 kB
oss-stable-semver/react-dom/umd/react-dom-server-legacy.browser.production.min.js +6.30% 67.43 kB 71.68 kB +9.23% 20.34 kB 22.22 kB
oss-stable/react-dom/umd/react-dom-server-legacy.browser.production.min.js +6.30% 67.46 kB 71.71 kB +9.21% 20.37 kB 22.24 kB
oss-stable-semver/react-dom/cjs/react-dom-server-legacy.node.production.min.js +5.97% 72.81 kB 77.15 kB +8.71% 21.78 kB 23.68 kB
oss-stable/react-dom/cjs/react-dom-server-legacy.node.production.min.js +5.97% 72.83 kB 77.18 kB +8.69% 21.81 kB 23.70 kB
oss-stable-semver/react-dom/cjs/react-dom-server.browser.production.min.js +5.28% 70.05 kB 73.75 kB +7.46% 21.49 kB 23.09 kB
oss-stable/react-dom/cjs/react-dom-server.browser.production.min.js +5.28% 70.07 kB 73.78 kB +7.45% 21.51 kB 23.11 kB
oss-stable-semver/react-dom/umd/react-dom-server.browser.production.min.js +5.27% 70.19 kB 73.88 kB +7.53% 21.79 kB 23.43 kB
oss-stable/react-dom/umd/react-dom-server.browser.production.min.js +5.26% 70.21 kB 73.91 kB +7.52% 21.81 kB 23.45 kB
oss-stable-semver/react-dom/cjs/react-dom-server.edge.production.min.js +5.00% 74.93 kB 78.68 kB +7.13% 23.03 kB 24.68 kB
oss-stable/react-dom/cjs/react-dom-server.edge.production.min.js +5.00% 74.96 kB 78.71 kB +7.11% 23.06 kB 24.70 kB
oss-stable-semver/react-server/cjs/react-server.development.js +4.55% 179.95 kB 188.13 kB +5.69% 41.81 kB 44.19 kB
oss-stable/react-server/cjs/react-server.development.js +4.55% 179.95 kB 188.13 kB +5.69% 41.81 kB 44.19 kB
oss-stable-semver/react-dom/cjs/react-dom-server-legacy.browser.development.js +4.27% 376.22 kB 392.28 kB +5.26% 83.16 kB 87.53 kB
oss-stable/react-dom/cjs/react-dom-server-legacy.browser.development.js +4.27% 376.25 kB 392.31 kB +5.24% 83.19 kB 87.55 kB
oss-stable-semver/react-dom/cjs/react-dom-server-legacy.node.development.js +4.25% 378.07 kB 394.14 kB +5.23% 83.62 kB 87.99 kB
oss-stable/react-dom/cjs/react-dom-server-legacy.node.development.js +4.25% 378.10 kB 394.16 kB +5.21% 83.65 kB 88.01 kB
oss-stable-semver/react-dom/umd/react-dom-server-legacy.browser.development.js +4.24% 394.18 kB 410.90 kB +5.21% 84.33 kB 88.72 kB
oss-stable/react-dom/umd/react-dom-server-legacy.browser.development.js +4.24% 394.20 kB 410.92 kB +5.21% 84.35 kB 88.75 kB
oss-stable-semver/react-dom/cjs/react-dom.production.min.js +4.12% 167.51 kB 174.41 kB +4.10% 52.12 kB 54.25 kB
oss-stable-semver/react-dom/cjs/react-dom-server.browser.development.js +4.12% 376.21 kB 391.69 kB +4.92% 83.60 kB 87.71 kB
oss-stable/react-dom/cjs/react-dom-server.browser.development.js +4.11% 376.24 kB 391.72 kB +4.91% 83.63 kB 87.73 kB
oss-stable-semver/react-dom/cjs/react-dom-server.edge.development.js +4.11% 376.62 kB 392.10 kB +4.90% 83.73 kB 87.83 kB
oss-stable/react-dom/cjs/react-dom-server.edge.development.js +4.11% 376.65 kB 392.13 kB +4.89% 83.75 kB 87.85 kB
oss-stable-semver/react-dom/umd/react-dom-server.browser.development.js +4.09% 394.16 kB 410.29 kB +4.87% 84.76 kB 88.89 kB
oss-stable/react-dom/umd/react-dom-server.browser.development.js +4.09% 394.18 kB 410.32 kB +4.87% 84.79 kB 88.92 kB
oss-stable-semver/react-dom/umd/react-dom.production.min.js +4.06% 167.37 kB 174.17 kB +4.01% 52.46 kB 54.56 kB
oss-stable/react-dom/umd/react-dom.production.min.js +4.06% 167.44 kB 174.25 kB +4.00% 52.49 kB 54.59 kB
oss-stable-semver/react-art/cjs/react-art.production.min.js +4.03% 94.35 kB 98.15 kB +3.60% 29.03 kB 30.07 kB
oss-stable/react-art/cjs/react-art.production.min.js +4.03% 94.40 kB 98.20 kB +3.60% 29.05 kB 30.10 kB
oss-stable-semver/react-reconciler/cjs/react-reconciler.production.min.js +3.94% 110.51 kB 114.87 kB +3.81% 33.68 kB 34.96 kB
oss-stable/react-reconciler/cjs/react-reconciler.production.min.js +3.94% 110.54 kB 114.89 kB +3.80% 33.70 kB 34.98 kB
oss-stable-semver/react-dom/cjs/react-dom.profiling.min.js +3.90% 177.14 kB 184.05 kB +3.96% 54.57 kB 56.73 kB
oss-stable/react-dom/cjs/react-dom.profiling.min.js +3.90% 177.22 kB 184.13 kB +3.96% 54.59 kB 56.75 kB
oss-stable-semver/react-dom/umd/react-dom.profiling.min.js +3.86% 176.36 kB 183.17 kB +3.82% 54.82 kB 56.91 kB
oss-stable/react-dom/umd/react-dom.profiling.min.js +3.86% 176.43 kB 183.24 kB +3.81% 54.84 kB 56.93 kB
facebook-react-native/react-test-renderer/cjs/ReactTestRenderer-prod.js +3.83% 297.76 kB 309.18 kB +3.22% 52.99 kB 54.69 kB
oss-stable-semver/react-test-renderer/cjs/react-test-renderer.production.min.js +3.81% 103.40 kB 107.33 kB +3.57% 31.75 kB 32.89 kB
oss-stable/react-test-renderer/cjs/react-test-renderer.production.min.js +3.80% 103.45 kB 107.39 kB +3.56% 31.78 kB 32.91 kB
oss-experimental/react-test-renderer/cjs/react-test-renderer.production.min.js +3.80% 103.57 kB 107.51 kB +3.57% 31.82 kB 32.96 kB
oss-stable-semver/react-test-renderer/umd/react-test-renderer.production.min.js +3.76% 103.79 kB 107.69 kB +3.40% 32.19 kB 33.28 kB
oss-stable/react-test-renderer/umd/react-test-renderer.production.min.js +3.76% 103.84 kB 107.74 kB +3.40% 32.21 kB 33.31 kB
oss-experimental/react-test-renderer/umd/react-test-renderer.production.min.js +3.75% 103.96 kB 107.86 kB +3.40% 32.26 kB 33.36 kB
oss-stable-semver/react-dom/umd/react-dom-server-rendering-stub.production.min.js +3.72% 3.39 kB 3.51 kB +3.27% 1.25 kB 1.29 kB
oss-stable/react-dom/umd/react-dom-server-rendering-stub.production.min.js +3.69% 3.41 kB 3.54 kB +3.13% 1.28 kB 1.32 kB
oss-stable-semver/react-reconciler/cjs/react-reconciler.profiling.min.js +3.65% 119.53 kB 123.89 kB +3.46% 35.92 kB 37.16 kB
oss-stable/react-reconciler/cjs/react-reconciler.profiling.min.js +3.65% 119.56 kB 123.92 kB +3.46% 35.95 kB 37.19 kB
facebook-react-native/react-test-renderer/cjs/ReactTestRenderer-profiling.js +3.64% 313.62 kB 325.05 kB +3.10% 55.41 kB 57.12 kB
oss-stable-semver/react-dom/cjs/react-dom-server-rendering-stub.production.min.js +3.60% 3.19 kB 3.31 kB +4.13% 1.14 kB 1.18 kB
oss-stable/react-dom/cjs/react-dom-server-rendering-stub.production.min.js +3.57% 3.22 kB 3.33 kB +3.96% 1.16 kB 1.21 kB
oss-stable-semver/react-dom/cjs/react-dom.development.js +3.55% 1,276.80 kB 1,322.06 kB +3.69% 281.77 kB 292.17 kB
oss-stable/react-dom/cjs/react-dom.development.js +3.54% 1,276.83 kB 1,322.09 kB +3.69% 281.80 kB 292.20 kB
oss-stable-semver/react-dom/umd/react-dom.development.js +3.53% 1,338.44 kB 1,385.69 kB +3.66% 284.69 kB 295.10 kB
oss-stable/react-dom/umd/react-dom.development.js +3.53% 1,338.47 kB 1,385.72 kB +3.65% 284.73 kB 295.13 kB
oss-stable-semver/react-dom/cjs/react-dom-server.bun.development.js +3.32% 373.45 kB 385.85 kB +3.43% 82.70 kB 85.54 kB
oss-stable/react-dom/cjs/react-dom-server.bun.development.js +3.32% 373.48 kB 385.88 kB +3.43% 82.73 kB 85.57 kB
facebook-react-native/react-test-renderer/cjs/ReactTestRenderer-dev.js +3.31% 799.88 kB 826.37 kB +3.06% 174.35 kB 179.69 kB
facebook-www/ReactTestRenderer-dev.modern.js +3.28% 806.57 kB 833.06 kB +3.04% 175.29 kB 180.63 kB
facebook-www/ReactTestRenderer-dev.classic.js +3.28% 806.57 kB 833.06 kB +3.05% 175.29 kB 180.63 kB
oss-stable-semver/react-test-renderer/cjs/react-test-renderer.development.js +3.26% 788.20 kB 813.86 kB +2.98% 173.04 kB 178.20 kB
oss-stable/react-test-renderer/cjs/react-test-renderer.development.js +3.26% 788.22 kB 813.89 kB +2.98% 173.07 kB 178.24 kB
oss-experimental/react-test-renderer/cjs/react-test-renderer.development.js +3.25% 788.58 kB 814.24 kB +2.98% 173.15 kB 178.31 kB
oss-stable-semver/react-test-renderer/umd/react-test-renderer.development.js +3.25% 825.49 kB 852.29 kB +2.96% 174.87 kB 180.05 kB
oss-stable/react-test-renderer/umd/react-test-renderer.development.js +3.25% 825.51 kB 852.32 kB +2.96% 174.90 kB 180.08 kB
oss-experimental/react-test-renderer/umd/react-test-renderer.development.js +3.25% 825.89 kB 852.69 kB +2.96% 174.98 kB 180.16 kB
oss-stable-semver/react-reconciler/cjs/react-reconciler.development.js +3.22% 902.16 kB 931.20 kB +3.13% 193.99 kB 200.07 kB
oss-stable/react-reconciler/cjs/react-reconciler.development.js +3.22% 902.19 kB 931.22 kB +3.13% 194.02 kB 200.09 kB
oss-stable-semver/react-art/cjs/react-art.development.js +3.20% 806.20 kB 831.98 kB +2.94% 176.63 kB 181.82 kB
oss-stable/react-art/cjs/react-art.development.js +3.20% 806.22 kB 832.01 kB +2.94% 176.65 kB 181.84 kB
oss-stable-semver/react-dom/cjs/react-dom-server.node.development.js +3.15% 377.70 kB 389.59 kB +3.18% 83.64 kB 86.31 kB
oss-stable/react-dom/cjs/react-dom-server.node.development.js +3.15% 377.72 kB 389.62 kB +3.18% 83.67 kB 86.33 kB
oss-stable-semver/react-dom/cjs/react-dom-server.bun.production.min.js +3.09% 73.04 kB 75.30 kB +4.05% 22.04 kB 22.93 kB
oss-stable/react-dom/cjs/react-dom-server.bun.production.min.js +3.09% 73.06 kB 75.32 kB +4.04% 22.06 kB 22.95 kB
oss-stable-semver/react-art/umd/react-art.development.js +2.92% 921.05 kB 947.98 kB +2.66% 195.67 kB 200.88 kB
oss-stable/react-art/umd/react-art.development.js +2.92% 921.08 kB 948.01 kB +2.66% 195.70 kB 200.90 kB
oss-stable-semver/react-art/umd/react-art.production.min.js +2.86% 131.63 kB 135.40 kB +2.47% 41.20 kB 42.21 kB
oss-stable/react-art/umd/react-art.production.min.js +2.86% 131.69 kB 135.46 kB +2.46% 41.22 kB 42.24 kB
oss-stable-semver/react-server/cjs/react-server.production.min.js +2.54% 33.55 kB 34.41 kB +3.04% 10.60 kB 10.92 kB
oss-stable/react-server/cjs/react-server.production.min.js +2.54% 33.55 kB 34.41 kB +3.04% 10.60 kB 10.92 kB
oss-stable-semver/react-dom/cjs/react-dom-server.node.production.min.js +2.31% 75.01 kB 76.75 kB +3.02% 23.09 kB 23.79 kB
oss-stable/react-dom/cjs/react-dom-server.node.production.min.js +2.31% 75.04 kB 76.77 kB +3.01% 23.12 kB 23.82 kB

Significant size changes

Includes any change greater than 0.2%:

Expand to show
Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable-semver/react-dom/unstable_server-external-runtime.js +18.82% 2.80 kB 3.33 kB +18.55% 1.26 kB 1.49 kB
oss-stable/react-dom/unstable_server-external-runtime.js +18.82% 2.80 kB 3.33 kB +18.55% 1.26 kB 1.49 kB
oss-stable-semver/react-dom/cjs/react-dom-server-rendering-stub.development.js +8.20% 15.88 kB 17.18 kB +14.20% 3.51 kB 4.01 kB
oss-stable/react-dom/cjs/react-dom-server-rendering-stub.development.js +8.19% 15.90 kB 17.20 kB +14.07% 3.54 kB 4.04 kB
oss-stable-semver/react-dom/umd/react-dom-server-rendering-stub.development.js +7.98% 16.72 kB 18.06 kB +13.86% 3.63 kB 4.13 kB
oss-stable/react-dom/umd/react-dom-server-rendering-stub.development.js +7.97% 16.75 kB 18.08 kB +13.73% 3.66 kB 4.16 kB
oss-stable-semver/react-dom/cjs/react-dom-server-legacy.browser.production.min.js +6.33% 67.27 kB 71.53 kB +9.19% 19.99 kB 21.83 kB
oss-stable/react-dom/cjs/react-dom-server-legacy.browser.production.min.js +6.32% 67.30 kB 71.55 kB +9.18% 20.02 kB 21.85 kB
oss-stable-semver/react-dom/umd/react-dom-server-legacy.browser.production.min.js +6.30% 67.43 kB 71.68 kB +9.23% 20.34 kB 22.22 kB
oss-stable/react-dom/umd/react-dom-server-legacy.browser.production.min.js +6.30% 67.46 kB 71.71 kB +9.21% 20.37 kB 22.24 kB
oss-stable-semver/react-dom/cjs/react-dom-server-legacy.node.production.min.js +5.97% 72.81 kB 77.15 kB +8.71% 21.78 kB 23.68 kB
oss-stable/react-dom/cjs/react-dom-server-legacy.node.production.min.js +5.97% 72.83 kB 77.18 kB +8.69% 21.81 kB 23.70 kB
oss-stable-semver/react-dom/cjs/react-dom-server.browser.production.min.js +5.28% 70.05 kB 73.75 kB +7.46% 21.49 kB 23.09 kB
oss-stable/react-dom/cjs/react-dom-server.browser.production.min.js +5.28% 70.07 kB 73.78 kB +7.45% 21.51 kB 23.11 kB
oss-stable-semver/react-dom/umd/react-dom-server.browser.production.min.js +5.27% 70.19 kB 73.88 kB +7.53% 21.79 kB 23.43 kB
oss-stable/react-dom/umd/react-dom-server.browser.production.min.js +5.26% 70.21 kB 73.91 kB +7.52% 21.81 kB 23.45 kB
oss-stable-semver/react-dom/cjs/react-dom-server.edge.production.min.js +5.00% 74.93 kB 78.68 kB +7.13% 23.03 kB 24.68 kB
oss-stable/react-dom/cjs/react-dom-server.edge.production.min.js +5.00% 74.96 kB 78.71 kB +7.11% 23.06 kB 24.70 kB
oss-stable-semver/react-server/cjs/react-server.development.js +4.55% 179.95 kB 188.13 kB +5.69% 41.81 kB 44.19 kB
oss-stable/react-server/cjs/react-server.development.js +4.55% 179.95 kB 188.13 kB +5.69% 41.81 kB 44.19 kB
oss-stable-semver/react-dom/cjs/react-dom-server-legacy.browser.development.js +4.27% 376.22 kB 392.28 kB +5.26% 83.16 kB 87.53 kB
oss-stable/react-dom/cjs/react-dom-server-legacy.browser.development.js +4.27% 376.25 kB 392.31 kB +5.24% 83.19 kB 87.55 kB
oss-stable-semver/react-dom/cjs/react-dom-server-legacy.node.development.js +4.25% 378.07 kB 394.14 kB +5.23% 83.62 kB 87.99 kB
oss-stable/react-dom/cjs/react-dom-server-legacy.node.development.js +4.25% 378.10 kB 394.16 kB +5.21% 83.65 kB 88.01 kB
oss-stable-semver/react-dom/umd/react-dom-server-legacy.browser.development.js +4.24% 394.18 kB 410.90 kB +5.21% 84.33 kB 88.72 kB
oss-stable/react-dom/umd/react-dom-server-legacy.browser.development.js +4.24% 394.20 kB 410.92 kB +5.21% 84.35 kB 88.75 kB
oss-stable-semver/react-dom/cjs/react-dom.production.min.js +4.12% 167.51 kB 174.41 kB +4.10% 52.12 kB 54.25 kB
oss-stable/react-dom/cjs/react-dom.production.min.js +4.12% 167.58 kB 174.48 kB +4.11% 52.14 kB 54.28 kB
oss-stable-semver/react-dom/cjs/react-dom-server.browser.development.js +4.12% 376.21 kB 391.69 kB +4.92% 83.60 kB 87.71 kB
oss-stable/react-dom/cjs/react-dom-server.browser.development.js +4.11% 376.24 kB 391.72 kB +4.91% 83.63 kB 87.73 kB
oss-stable-semver/react-dom/cjs/react-dom-server.edge.development.js +4.11% 376.62 kB 392.10 kB +4.90% 83.73 kB 87.83 kB
oss-stable/react-dom/cjs/react-dom-server.edge.development.js +4.11% 376.65 kB 392.13 kB +4.89% 83.75 kB 87.85 kB
oss-stable-semver/react-dom/umd/react-dom-server.browser.development.js +4.09% 394.16 kB 410.29 kB +4.87% 84.76 kB 88.89 kB
oss-stable/react-dom/umd/react-dom-server.browser.development.js +4.09% 394.18 kB 410.32 kB +4.87% 84.79 kB 88.92 kB
oss-stable-semver/react-dom/umd/react-dom.production.min.js +4.06% 167.37 kB 174.17 kB +4.01% 52.46 kB 54.56 kB
oss-stable/react-dom/umd/react-dom.production.min.js +4.06% 167.44 kB 174.25 kB +4.00% 52.49 kB 54.59 kB
oss-stable-semver/react-art/cjs/react-art.production.min.js +4.03% 94.35 kB 98.15 kB +3.60% 29.03 kB 30.07 kB
oss-stable/react-art/cjs/react-art.production.min.js +4.03% 94.40 kB 98.20 kB +3.60% 29.05 kB 30.10 kB
oss-stable-semver/react-reconciler/cjs/react-reconciler.production.min.js +3.94% 110.51 kB 114.87 kB +3.81% 33.68 kB 34.96 kB
oss-stable/react-reconciler/cjs/react-reconciler.production.min.js +3.94% 110.54 kB 114.89 kB +3.80% 33.70 kB 34.98 kB
oss-stable-semver/react-dom/cjs/react-dom.profiling.min.js +3.90% 177.14 kB 184.05 kB +3.96% 54.57 kB 56.73 kB
oss-stable/react-dom/cjs/react-dom.profiling.min.js +3.90% 177.22 kB 184.13 kB +3.96% 54.59 kB 56.75 kB
oss-stable-semver/react-dom/umd/react-dom.profiling.min.js +3.86% 176.36 kB 183.17 kB +3.82% 54.82 kB 56.91 kB
oss-stable/react-dom/umd/react-dom.profiling.min.js +3.86% 176.43 kB 183.24 kB +3.81% 54.84 kB 56.93 kB
facebook-react-native/react-test-renderer/cjs/ReactTestRenderer-prod.js +3.83% 297.76 kB 309.18 kB +3.22% 52.99 kB 54.69 kB
oss-stable-semver/react-test-renderer/cjs/react-test-renderer.production.min.js +3.81% 103.40 kB 107.33 kB +3.57% 31.75 kB 32.89 kB
oss-stable/react-test-renderer/cjs/react-test-renderer.production.min.js +3.80% 103.45 kB 107.39 kB +3.56% 31.78 kB 32.91 kB
oss-experimental/react-test-renderer/cjs/react-test-renderer.production.min.js +3.80% 103.57 kB 107.51 kB +3.57% 31.82 kB 32.96 kB
oss-stable-semver/react-test-renderer/umd/react-test-renderer.production.min.js +3.76% 103.79 kB 107.69 kB +3.40% 32.19 kB 33.28 kB
oss-stable/react-test-renderer/umd/react-test-renderer.production.min.js +3.76% 103.84 kB 107.74 kB +3.40% 32.21 kB 33.31 kB
oss-experimental/react-test-renderer/umd/react-test-renderer.production.min.js +3.75% 103.96 kB 107.86 kB +3.40% 32.26 kB 33.36 kB
oss-stable-semver/react-dom/umd/react-dom-server-rendering-stub.production.min.js +3.72% 3.39 kB 3.51 kB +3.27% 1.25 kB 1.29 kB
oss-stable/react-dom/umd/react-dom-server-rendering-stub.production.min.js +3.69% 3.41 kB 3.54 kB +3.13% 1.28 kB 1.32 kB
oss-stable-semver/react-reconciler/cjs/react-reconciler.profiling.min.js +3.65% 119.53 kB 123.89 kB +3.46% 35.92 kB 37.16 kB
oss-stable/react-reconciler/cjs/react-reconciler.profiling.min.js +3.65% 119.56 kB 123.92 kB +3.46% 35.95 kB 37.19 kB
facebook-react-native/react-test-renderer/cjs/ReactTestRenderer-profiling.js +3.64% 313.62 kB 325.05 kB +3.10% 55.41 kB 57.12 kB
oss-stable-semver/react-dom/cjs/react-dom-server-rendering-stub.production.min.js +3.60% 3.19 kB 3.31 kB +4.13% 1.14 kB 1.18 kB
oss-stable/react-dom/cjs/react-dom-server-rendering-stub.production.min.js +3.57% 3.22 kB 3.33 kB +3.96% 1.16 kB 1.21 kB
oss-stable-semver/react-dom/cjs/react-dom.development.js +3.55% 1,276.80 kB 1,322.06 kB +3.69% 281.77 kB 292.17 kB
oss-stable/react-dom/cjs/react-dom.development.js +3.54% 1,276.83 kB 1,322.09 kB +3.69% 281.80 kB 292.20 kB
oss-stable-semver/react-dom/umd/react-dom.development.js +3.53% 1,338.44 kB 1,385.69 kB +3.66% 284.69 kB 295.10 kB
oss-stable/react-dom/umd/react-dom.development.js +3.53% 1,338.47 kB 1,385.72 kB +3.65% 284.73 kB 295.13 kB
oss-stable-semver/react-dom/cjs/react-dom-server.bun.development.js +3.32% 373.45 kB 385.85 kB +3.43% 82.70 kB 85.54 kB
oss-stable/react-dom/cjs/react-dom-server.bun.development.js +3.32% 373.48 kB 385.88 kB +3.43% 82.73 kB 85.57 kB
facebook-react-native/react-test-renderer/cjs/ReactTestRenderer-dev.js +3.31% 799.88 kB 826.37 kB +3.06% 174.35 kB 179.69 kB
facebook-www/ReactTestRenderer-dev.modern.js +3.28% 806.57 kB 833.06 kB +3.04% 175.29 kB 180.63 kB
facebook-www/ReactTestRenderer-dev.classic.js +3.28% 806.57 kB 833.06 kB +3.05% 175.29 kB 180.63 kB
oss-stable-semver/react-test-renderer/cjs/react-test-renderer.development.js +3.26% 788.20 kB 813.86 kB +2.98% 173.04 kB 178.20 kB
oss-stable/react-test-renderer/cjs/react-test-renderer.development.js +3.26% 788.22 kB 813.89 kB +2.98% 173.07 kB 178.24 kB
oss-experimental/react-test-renderer/cjs/react-test-renderer.development.js +3.25% 788.58 kB 814.24 kB +2.98% 173.15 kB 178.31 kB
oss-stable-semver/react-test-renderer/umd/react-test-renderer.development.js +3.25% 825.49 kB 852.29 kB +2.96% 174.87 kB 180.05 kB
oss-stable/react-test-renderer/umd/react-test-renderer.development.js +3.25% 825.51 kB 852.32 kB +2.96% 174.90 kB 180.08 kB
oss-experimental/react-test-renderer/umd/react-test-renderer.development.js +3.25% 825.89 kB 852.69 kB +2.96% 174.98 kB 180.16 kB
oss-stable-semver/react-reconciler/cjs/react-reconciler.development.js +3.22% 902.16 kB 931.20 kB +3.13% 193.99 kB 200.07 kB
oss-stable/react-reconciler/cjs/react-reconciler.development.js +3.22% 902.19 kB 931.22 kB +3.13% 194.02 kB 200.09 kB
oss-stable-semver/react-art/cjs/react-art.development.js +3.20% 806.20 kB 831.98 kB +2.94% 176.63 kB 181.82 kB
oss-stable/react-art/cjs/react-art.development.js +3.20% 806.22 kB 832.01 kB +2.94% 176.65 kB 181.84 kB
oss-stable-semver/react-dom/cjs/react-dom-server.node.development.js +3.15% 377.70 kB 389.59 kB +3.18% 83.64 kB 86.31 kB
oss-stable/react-dom/cjs/react-dom-server.node.development.js +3.15% 377.72 kB 389.62 kB +3.18% 83.67 kB 86.33 kB
oss-stable-semver/react-dom/cjs/react-dom-server.bun.production.min.js +3.09% 73.04 kB 75.30 kB +4.05% 22.04 kB 22.93 kB
oss-stable/react-dom/cjs/react-dom-server.bun.production.min.js +3.09% 73.06 kB 75.32 kB +4.04% 22.06 kB 22.95 kB
oss-stable-semver/react-art/umd/react-art.development.js +2.92% 921.05 kB 947.98 kB +2.66% 195.67 kB 200.88 kB
oss-stable/react-art/umd/react-art.development.js +2.92% 921.08 kB 948.01 kB +2.66% 195.70 kB 200.90 kB
oss-stable-semver/react-art/umd/react-art.production.min.js +2.86% 131.63 kB 135.40 kB +2.47% 41.20 kB 42.21 kB
oss-stable/react-art/umd/react-art.production.min.js +2.86% 131.69 kB 135.46 kB +2.46% 41.22 kB 42.24 kB
oss-stable-semver/react-server/cjs/react-server.production.min.js +2.54% 33.55 kB 34.41 kB +3.04% 10.60 kB 10.92 kB
oss-stable/react-server/cjs/react-server.production.min.js +2.54% 33.55 kB 34.41 kB +3.04% 10.60 kB 10.92 kB
oss-stable-semver/react-dom/cjs/react-dom-server.node.production.min.js +2.31% 75.01 kB 76.75 kB +3.02% 23.09 kB 23.79 kB
oss-stable/react-dom/cjs/react-dom-server.node.production.min.js +2.31% 75.04 kB 76.77 kB +3.01% 23.12 kB 23.82 kB
oss-stable-semver/react/cjs/react.production.min.js +0.88% 8.29 kB 8.36 kB +0.51% 3.14 kB 3.16 kB
oss-stable/react/cjs/react.production.min.js +0.88% 8.31 kB 8.39 kB +0.47% 3.17 kB 3.18 kB
oss-stable-semver/react/umd/react.profiling.min.js +0.81% 8.30 kB 8.36 kB +0.47% 3.21 kB 3.23 kB
oss-stable-semver/react/umd/react.production.min.js +0.81% 8.30 kB 8.36 kB +0.47% 3.21 kB 3.23 kB
oss-stable/react/umd/react.profiling.min.js +0.81% 8.32 kB 8.39 kB +0.43% 3.24 kB 3.26 kB
oss-stable/react/umd/react.production.min.js +0.80% 8.32 kB 8.39 kB +0.40% 3.24 kB 3.25 kB
oss-stable-semver/react/cjs/react.development.js +0.25% 99.93 kB 100.18 kB +0.16% 27.02 kB 27.06 kB
oss-stable/react/cjs/react.development.js +0.25% 99.95 kB 100.20 kB +0.15% 27.05 kB 27.09 kB
oss-stable-semver/react/umd/react.development.js +0.25% 104.64 kB 104.90 kB +0.18% 27.17 kB 27.22 kB
oss-stable/react/umd/react.development.js +0.25% 104.66 kB 104.92 kB +0.18% 27.20 kB 27.25 kB
oss-experimental/react-dom/umd/react-dom-server-rendering-stub.production.min.js = 3.57 kB 3.54 kB = 1.33 kB 1.32 kB
oss-experimental/react-dom/cjs/react-dom-server-rendering-stub.production.min.js = 3.36 kB 3.34 kB = 1.22 kB 1.21 kB

Generated by 🚫 dangerJS against 9a9a0a5

@acdlite acdlite merged commit bfefb22 into facebook:main Oct 4, 2023
36 checks passed
@eps1lon
Copy link
Collaborator

eps1lon commented Oct 4, 2023

Should HydrateRootOptions['experimental_formState'] also be renamed?
Update: yes, #27460

github-actions bot pushed a commit that referenced this pull request Oct 4, 2023
Upgrades the stability of Server Actions from experimental to canary.

- Turns on enableAsyncActions and enableFormActions
- Removes "experimental_" prefix from useOptimistic, useFormStatus, and
useFormState

DiffTrain build for [bfefb22](bfefb22)
alunyov pushed a commit to alunyov/react that referenced this pull request Oct 11, 2023
Upgrades the stability of Server Actions from experimental to canary.

- Turns on enableAsyncActions and enableFormActions
- Removes "experimental_" prefix from useOptimistic, useFormStatus, and
useFormState
ztanner added a commit to vercel/next.js that referenced this pull request Oct 16, 2023
…experimental prefix for server action APIs (#56809)

The latest React canary builds have a few changes that need to be
adopted for compatability.

1. the `useFormState` and `useFormStatus` hooks in `react-dom` and the
`formData` opiont in `react-dom/server` are no longer prefixed with
`experimental_`
2. server content (an undocumented React feature) has been removed. Next
only had trivial intenral use of this API and did not expose a coherent
feature to Next users (no ability to seed context on refetches). It is
still possible that some users used the React server context APIs which
is why this should go into Next 14.

### React upstream changes

- facebook/react#27513
- facebook/react#27514
- facebook/react#27511
- facebook/react#27508
- facebook/react#27502
- facebook/react#27474
- facebook/react#26789
- facebook/react#27500
- facebook/react#27488
- facebook/react#27458
- facebook/react#27471
- facebook/react#27470
- facebook/react#27464
- facebook/react#27456
- facebook/react#27462
- facebook/react#27461
- facebook/react#27460
- facebook/react#27459
- facebook/react#27454
- facebook/react#27457
- facebook/react#27453
- facebook/react#27401
- facebook/react#27443
- facebook/react#27445
- facebook/react#27364
- facebook/react#27440
- facebook/react#27436

---------

Co-authored-by: Zack Tanner <zacktanner@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Jiachi Liu <inbox@huozhi.im>
EdisonVan pushed a commit to EdisonVan/react that referenced this pull request Apr 15, 2024
Upgrades the stability of Server Actions from experimental to canary.

- Turns on enableAsyncActions and enableFormActions
- Removes "experimental_" prefix from useOptimistic, useFormStatus, and
useFormState
bigfootjon pushed a commit that referenced this pull request Apr 18, 2024
Upgrades the stability of Server Actions from experimental to canary.

- Turns on enableAsyncActions and enableFormActions
- Removes "experimental_" prefix from useOptimistic, useFormStatus, and
useFormState

DiffTrain build for commit bfefb22.
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.

5 participants