DEV Community

Discussion on: Why you should NOT use Material-UI

Collapse
 
eddielewis_92 profile image
Eddie Le

Great post @gaelferrand ! I wish I read this earlier so that I wouldn't feel like banging my head on the wall. Thanks to React MUI, I surprised myself finding out my to-be-upgraded portfolio site performance score (lighthouse) were 46% and 6% on desktop and mobile respectively.

Frankly, I just have no idea where to start fixing after spending lots of time with MUI. Maybe I should be seriously thinking about rewriting all those styles using good old SCSS(?!)🤔

Collapse
 
bilalmohib profile image
Muhammad Bilal Mohib-ul-Nabi

Brother use tailwind css you will be amazed by performance

Collapse
 
nodejsdeveloperskh profile image
node.js.developers.kh

But what about reinventing the wheel again and again for each project? Do not wanna spend too much time on this things that does not make too much difference when thinking about them in terms of business value and delivering something to the end user. It is just taking too much time to write, test, and let's not forget to maintain.

Thread Thread
 
bilalmohib profile image
Muhammad Bilal Mohib-ul-Nabi

The way to use is such that whenever you need a component specific to a thing which is used very frequently such that a Accordion or something like that then only use that component from mui otherwise use only tailwind css. Thats it.