Open harshagr64 opened 6 months ago
My guess is that your imports load the entire MUI bundle which is very heavy. You could try to use tree-shaking guidelines from their docs: https://mui.com/material-ui/guides/minimizing-bundle-size/
Thanks @dziraf, its working now.
Contact Details
No response
What happened?
I have the below file containing my custom component, can you help me understand why Admin JS is taking so long to load the UI.
Before using this file in my code, Admin js loaded instantly, but now it is taking almost 1 minute to load the UI page.
Bug prevalence
Multiple Times
AdminJS dependencies version
v7.2.0
What browsers do you see the problem on?
Firefox, Chrome, Safari, Microsoft Edge
Relevant log output
No response
Relevant code that's giving you issues