The Wayback Machine - https://web.archive.org/web/20220821114115/https://github.com/facebook/react/pull/25102
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

make preamble and postamble types explicit and fix typo #25102

Merged
merged 1 commit into from Aug 16, 2022

Conversation

gnoff
Copy link
Collaborator

@gnoff gnoff commented Aug 16, 2022

This PR cleans up the typing for preamble and postamble and corrects an error typo introduced in: #25060

The pre/post-amble types are now non-nullable and we construct two arrays per request uncoditionally

@sizebot
Copy link

sizebot commented Aug 16, 2022

Comparing: 796d318...6e70b18

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 = 134.28 kB 134.28 kB = 42.94 kB 42.94 kB
oss-experimental/react-dom/cjs/react-dom.production.min.js = 140.35 kB 140.35 kB = 44.74 kB 44.74 kB
facebook-www/ReactDOM-prod.classic.js = 474.44 kB 474.44 kB = 84.88 kB 84.88 kB
facebook-www/ReactDOM-prod.modern.js = 459.68 kB 459.68 kB = 82.63 kB 82.63 kB
facebook-www/ReactDOMForked-prod.classic.js = 474.44 kB 474.44 kB = 84.88 kB 84.88 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against 6e70b18

@gnoff gnoff merged commit 6ef466c into facebook:main Aug 16, 2022
36 checks passed
@gnoff gnoff deleted the bugfix/float-initial-resources branch Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
4 participants