Skip to content

Remove useActionState Hook export from experimental react-server condition#32342

Merged
sebmarkbage merged 1 commit into
facebook:mainfrom
sebmarkbage:rmuseactionstatefromserver
Feb 9, 2025
Merged

Remove useActionState Hook export from experimental react-server condition#32342
sebmarkbage merged 1 commit into
facebook:mainfrom
sebmarkbage:rmuseactionstatefromserver

Conversation

@sebmarkbage
Copy link
Copy Markdown
Contributor

This Hook is not available in RSC environments. This is already the case in stable but not in experimental for some reason. Probably an oversight.

…ition

This Hook is not available in RSC environments.
@react-sizebot
Copy link
Copy Markdown

Comparing: 062fb31155e42b6997a35b97180055814471620c...e79f7c84d6ffa5fd788fcc0f8d18977edd4ce2a5

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.83 kB
oss-stable/react-dom/cjs/react-dom-client.production.js = 515.48 kB 515.48 kB = 92.04 kB 92.04 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 = 558.52 kB 558.52 kB = 99.27 kB 99.27 kB
facebook-www/ReactDOM-prod.classic.js = 636.88 kB 636.88 kB = 111.92 kB 111.92 kB
facebook-www/ReactDOM-prod.modern.js = 627.20 kB 627.20 kB = 110.34 kB 110.34 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/cjs/react.react-server.development.js = 36.15 kB 35.96 kB = 8.55 kB 8.50 kB
oss-experimental/react/cjs/react.react-server.production.js = 18.72 kB 18.56 kB = 4.97 kB 4.93 kB

Generated by 🚫 dangerJS against 9e7e9a5

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