-
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
[FB] use modern entrypoint in tests #28724
Conversation
62f8e34
to
d16d5ca
Compare
packages/react-reconciler/src/__tests__/ReactScope-test.internal.js
Outdated
Show resolved
Hide resolved
@@ -430,6 +431,7 @@ describe('ReactScope', () => { | |||
}); | |||
|
|||
// @gate www | |||
// @gate !disableLegacyMode |
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.
Need to rebase since I updated these to concurrent mode.
Comparing: 8f55a6a...bf5292b 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
|
d16d5ca
to
fb33355
Compare
f40827b
to
f891aa9
Compare
@@ -48,10 +49,10 @@ export { | |||
useLayoutEffect, | |||
useMemo, | |||
useOptimistic, | |||
useSyncExternalStore, |
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.
cleaning up the order to match react/index
@@ -33,6 +33,7 @@ export { | |||
unstable_Activity, | |||
unstable_Scope, | |||
unstable_SuspenseList, | |||
unstable_TracingMarker, |
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.
this was missing from the modern entrypoint but is necessary for tracing tests to pass. Curious though that it doesn't fail. probably because it's a symbol and it imports in cjs as undefined
f891aa9
to
8aebb2f
Compare
Disables legacy mode in www-modern and removes the entrypoint hack in tests since we gate legacy mode tests now Additionally disables test utils because this relies on legacy mode. Additionally gates react-test-renderer test for unstable_Scope because it seems to also rely on legacy roots.
8aebb2f
to
bf5292b
Compare
Removes the entrypoint hack in tests since we gate legacy mode tests now
Removes the entrypoint hack in tests since we gate legacy mode tests now DiffTrain build for commit cb6dc7a.
Removes the entrypoint hack in tests since we gate legacy mode tests now