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

Add more warnings for second argument to root.render. #23358

Merged
merged 1 commit into from
Feb 24, 2022

Conversation

sebmarkbage
Copy link
Collaborator

We already had one for callbacks but containers is also an easy mistake.

cc @gnoff

We already had one for callbacks but containers is also an easy mistake.
@sizebot
Copy link

sizebot commented Feb 24, 2022

Comparing: 8c4cd65...89d1cdd

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 = 131.26 kB 131.26 kB = 41.99 kB 41.99 kB
oss-experimental/react-dom/cjs/react-dom.production.min.js = 136.12 kB 136.12 kB = 43.42 kB 43.42 kB
facebook-www/ReactDOM-prod.classic.js = 434.31 kB 434.31 kB = 79.42 kB 79.42 kB
facebook-www/ReactDOM-prod.modern.js = 424.09 kB 424.09 kB = 77.98 kB 77.97 kB
facebook-www/ReactDOMForked-prod.classic.js = 434.31 kB 434.31 kB = 79.42 kB 79.42 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against 89d1cdd

@gnoff
Copy link
Collaborator

gnoff commented Feb 24, 2022

👍

@sebmarkbage sebmarkbage merged commit 68cb55f into facebook:main Feb 24, 2022
zhengjitf pushed a commit to zhengjitf/react that referenced this pull request Apr 15, 2022
We already had one for callbacks but containers is also an easy mistake.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants