-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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] Clarify difference in startup times between named and default imports in minimizing-bundle-size.md #33109
Conversation
docs/data/material/guides/minimizing-bundle-size/minimizing-bundle-size.md
Outdated
Show resolved
Hide resolved
…ndle-size.md Co-authored-by: Marija Najdova <mnajdova@gmail.com>
Please run |
Added lint, thanks for the reminder @michaldudak Also, can take or leave this wording suggestion, it is certainly more verbose but I thought just spelling it out could help. |
Startup times can be approximately 6x slower with named imports than without e.g. | ||
|
||
In some cases |
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.
I'd remove the "in some cases". We already say that they can be slower.
Startup times can be approximately 6x slower with named imports than without e.g. | |
In some cases | |
Startup times can be approximately 6x slower with named imports than without e.g.: | |
@samuelsycamore would you mind taking a quick look? |
docs/data/material/guides/minimizing-bundle-size/minimizing-bundle-size.md
Outdated
Show resolved
Hide resolved
…ndle-size.md Co-authored-by: Sam Sycamore <71297412+samuelsycamore@users.noreply.github.com>
…imports in minimizing-bundle-size.md (mui#33109) Co-authored-by: Marija Najdova <mnajdova@gmail.com> Co-authored-by: Sam Sycamore <71297412+samuelsycamore@users.noreply.github.com>
Hi there! I was trying to work out a bug where I am seeing a bunch of icons in my built version. I am not sure why but while trying to debug I came across this part of the documentation. I added some changes in this PR to try to clarify this section in detail cause it's a little hard to interpret. Let me know if that helps!