This is my first experience with React Material-ui. In my react app, whenever I use yarn start, it takes too long (at least 25 seconds on a processor i5 8400 + 16 GB RAM) to compile then start the react app.
At first, I thought it could be due to eslint, but after disabling it, there was no tangible improvement. Next, I thought it might be about material-ui. When I tried removing it completely, it went back to a normal react-app with a fast start.
Is it always this long or can I do something to ensure it isn't always as long?
You can use "Tree shaking", which will HIGHLY reduce the bundle size of material UI (which I believe is the issue here), and will ultimately load your app faster. To learn what Tree Shaking is, and how you can use it, material UI provides an article on how to reduce bundle size.