Open tjx666 opened 4 months ago
Thank you so much for the detail explanations!
I just discovered that in my case, i had performance issues completely disappear when removing the @mui/icons-material
package.
Then i tried downgrading to an older version and that seem to have improved my performance by a lot.
Version 5.11.11 seem to be much more stable in performance, but it requires the use of the --legacy-peer-deps
flag.
"@mui/icons-material": "^5.11.11"
I noted the issues happening here. (I have not tried other versions)
"@mui/icons-material": "^6.1.4"
OS Environment
Steps to reproduce
I write many details in the readme of https://github.com/tjx666/ts-perf-issue
Current behavior
The cases described in https://github.com/tjx666/ts-perf-issue/tree/main still bad ts performance
Expected behavior
Improve these cases performance.
Context
https://github.com/tjx666/ts-perf-issue
Your environment
``` System: OS: macOS 14.5 Binaries: Node: 20.15.0 - ~/.local/state/fnm_multishells/22122_1719478157230/bin/node npm: 10.7.0 - ~/.local/state/fnm_multishells/22122_1719478157230/bin/npm pnpm: 9.4.0 - ~/.local/state/fnm_multishells/22122_1719478157230/bin/pnpm Browsers: Chrome: 126.0.6478.127 Edge: Not Found Safari: 17.5 npmPackages: @mui/lab: 5.0.0-alpha.170 => 5.0.0-alpha.170 @mui/material: ^5.15.20 => 5.15.20 @types/react: ^18.3.3 => 18.3.3 react: ^18.3.1 => 18.3.1 typescript: ^5.5.2 => 5.5.2 ```npx @mui/envinfo
Search keywords: typescript, suggestion, slow, bad, performace, sxProps, createTheme, @mui/system