-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[core] Remove unstable_StrictMode transition components #20952
Conversation
@material-ui/core: parsed: -1.19% 😍, gzip: -0.77% 😍 Details of bundle changes.Comparing: 8c6fe14...dbf3d00 Details of page changes
|
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 approach looks great
1b06571
to
75b220b
Compare
return ( | ||
<React.StrictMode> | ||
<ThemeProvider theme={unstable_createMuiStrictModeTheme()}> | ||
<LandingPage /> |
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 example doesn't illustrate disableStrictModeCompat
.
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.
Added an example to the Disable StrictMode compatibility partially
section
75b220b
to
2454c76
Compare
56278e3
to
dbf3d00
Compare
unstable_StrictMode*
transition componentsdisableStrictModeCompat
toCollapse
,Fade
,Grow
,Zoom
in case forwarding ref is not an option (Slide
already had the necessary restrictions).unstable_createMuiStrictModeTheme