-
Notifications
You must be signed in to change notification settings - Fork 47.2k
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
Build both a partial renderer and fizz renderer of the legacy API for FB #22933
Conversation
scripts/rollup/bundles.js
Outdated
bundleTypes: __EXPERIMENTAL__ | ||
? [UMD_DEV, UMD_PROD, NODE_DEV, NODE_PROD] | ||
: [UMD_DEV, UMD_PROD, NODE_DEV, NODE_PROD, FB_WWW_DEV, FB_WWW_PROD], | ||
bundleTypes: [UMD_DEV, UMD_PROD, NODE_DEV, NODE_PROD, FB_WWW_DEV, FB_WWW_PROD], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The classic version has an override that pulls in from partial renderer.
https://github.com/facebook/react/blob/main/packages/react-dom/src/server/ReactDOMLegacyServerBrowser.classic.fb.js
The modern version has the same config but uses the Fizz legacy implementation.
Comparing: 75d34aa...47e040c Critical size changesIncludes critical production bundles, as well as any change greater than 2%:
Significant size changesIncludes any change greater than 0.2%: Expand to show
|
8ce4cff
to
6c31274
Compare
This lets us test how the new architecture performs without comparing it to other infra changes related to streaming. I renamed the streaming one to ReactDOMServerStreaming so the references in www need to be updated. I'll open an adhoc sync with just those files.
6c31274
to
47e040c
Compare
Summary: This sync includes the following changes: - **[fe905f152](facebook/react@fe905f152 )**: Update package.json ([#22954](facebook/react#22954)) //<Jack Works>// - **[3dc41d8a2](facebook/react@3dc41d8a2 )**: fix: parseExportNamesInto specifiers typo ([#22537](facebook/react#22537)) //<btea>// - **[bd0a5dd68](facebook/react@bd0a5dd68 )**: #22988 - Fix Bug: license header in React 18 bundles contains vundefined ([#23004](facebook/react#23004)) //<Vitalie>// - **[ceee524a8](facebook/react@ceee524a8 )**: Remove unnecessary clearContainer call ([#22979](facebook/react#22979)) //<Sebastian Markbåge>// - **[cd1a3e9b5](facebook/react@cd1a3e9b5 )**: Build both a partial renderer and fizz renderer of the legacy API for FB ([#22933](facebook/react#22933)) //<Sebastian Markbåge>// Changelog: [General][Changed] - React Native sync for revisions a049aa0...fe905f1 jest_e2e[run_all_tests] Reviewed By: rickhanlonii Differential Revision: D33512179 fbshipit-source-id: c2df06c8af6bb674ea0c5524538259e6d6d98f78
… FB (facebook#22933) This lets us test how the new architecture performs without comparing it to other infra changes related to streaming. I renamed the streaming one to ReactDOMServerStreaming so the references in www need to be updated. I'll open an adhoc sync with just those files.
This lets us test how the new architecture performs without comparing it to other infra changes related to streaming.
I renamed the streaming one to ReactDOMServerStreaming. The references to Fizz in www need to be updated to point to this file.
I'll open an adhoc sync with just those files.