-
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
[flags] Cleanup enableCache #31778
[flags] Cleanup enableCache #31778
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Comparing: 2d32056...0d16aeb Critical size changesIncludes critical production bundles, as well as any change greater than 2%:
Significant size changesIncludes any change greater than 0.2%: (No significant changes) |
I we used to have an We probably need to also remove the |
@sebmarkbage yeah I was going to ask about that because a ton of this looks unnecessary, do you thing I should followup to remove that dead code so I can revert it cleanly if needed, or just delete it in this PR? |
const cache: Cache = current.memoizedState.cache; | ||
pushCacheProvider(workInProgress, cache); | ||
} | ||
const cache: Cache = current.memoizedState.cache; |
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 fix these lints. Interesting that it wasn't failing for shadowing.
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.
TIL case statements without braces do not scope let/const to that case, fixed by adding braces to the previous case.
# Conflicts: # packages/react-server/src/ReactFizzServer.js
This is landed everywhere DiffTrain build for [e06c72f](facebook@e06c72f)
This is landed everywhere DiffTrain build for [e06c72f](facebook@e06c72f)
This is landed everywhere