Skip to content
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

Performance improvements for Intellisense #1689

Merged
merged 1 commit into from
Feb 9, 2023
Merged

Performance improvements for Intellisense #1689

merged 1 commit into from
Feb 9, 2023

Conversation

mattcasey
Copy link
Member

@mattcasey mattcasey commented Feb 9, 2023

Was digging again thru why Intellisense is so bad for me, and found this gist : https://gist.github.com/casamia918/dafd630a1cdd81935a4587297acaae00. TBH I am not sure it's helping, but it doesn't hurt and I like that we are more consistent in importing from mui/material instead of mui/system. And when I run tsc --generateTrace trace, I can see there's about 1,000 less lines of types to generate.

Original github issue: microsoft/TypeScript#34801. It seems like MUI types are a big slowdown. It might also help to replace all icons with ones from react-icons instead of material-icons... not too easy to do, though

@mattcasey mattcasey merged commit ad3990b into main Feb 9, 2023
@mattcasey mattcasey deleted the mui-imports branch February 9, 2023 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant