-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[docs] Use the getLayout
on the material demo pages
#41936
Conversation
Netlify deploy previewhttps://deploy-preview-41936--material-ui.netlify.app/ Bundle size report |
getLayout
on the material demo pages
@alexfauquette What are the two condition changes doing here? Might be useful to add a comment as well, or link to a comment on this PR 😄 |
@bharatkashyap I don't know why it was still visible. It comes from this PR #41908 |
Linking with #41117 Even beyond the improved performance, I appreciate the badge and search icon who do no longer flicker on each page transition. It will be great to propage this to all pages. It's nice we do it incrementally. We will see if there are more regressions. I had to fix a bunch in the past with the "v2". |
getLayout
on the material demo pagesgetLayout
on the material demo pages
Only if someone uses next.mui.com |
It seems to speed up a bit the page transition.
I recoded the time between the click and the first frame with the new page content as follow
Result
The rendering time in ms