Live data from Hacker News

Material-UI is releasing v5 and rebrands to mui.com

mui.com

1–10 of 15 posts

Re: Material-UI is releasing v5 and rebrands to mui.com

#2
Hi HN. I'm one of the creators of MUI. The whole team is very excited to be sharing the results of the last two years of our work!

The last time we were on HN was 7 years ago with https://news.ycombinator.com/item?id=8582439! Back then, the community got hooked up in the integration of two shiny new trends: React and Material Design. A lot has changed in the React community since then.

In v5, we have focused on improving the customization experience, making the components as flexible as possible. You can find the following improvements:

- We have a new rebrand that distinguishes ourselves from Material Design: https://mui.com/blog/material-ui-is-now-mui/.

- We have moved from JSS to emotion, using the styled-components API as a primitive. This was a highly requested change from the community: https://github.com/mui-org/material-ui/issues/6115

- We have introduced styling props, and a sx prop: https://mui.com/system/basics/

- We have a growing set of alpha unstyled components, e.g. https://mui.com/components/autocomplete/#useautocomplete

- We have incorporated a company, sustaining over 10 people.

- We have introduced an advanced data grid: https://mui.com/components/data-grid/demo/

Thanks!

Re: Material-UI is releasing v5 and rebrands to mui.com

#4

Hi HN. I'm one of the creators of MUI. The whole team is very excited to be sharing the results of the last two years of our work! The last time we were on HN was 7 years ago with https://news.ycombinator.com/item?id=8582439 ! Back then, the community got hooked up in the integration of two shiny new trends: React and Material Design. A lot has changed in the React community since then. In v5, we have focused on impr…

[deleted]

Re: Material-UI is releasing v5 and rebrands to mui.com

#7

Hi HN. I'm one of the creators of MUI. The whole team is very excited to be sharing the results of the last two years of our work! The last time we were on HN was 7 years ago with https://news.ycombinator.com/item?id=8582439 ! Back then, the community got hooked up in the integration of two shiny new trends: React and Material Design. A lot has changed in the React community since then. In v5, we have focused on impr…

You don't have screenshots or a "widget tree".

Re: Material-UI is releasing v5 and rebrands to mui.com

#8
Reading through the styling part and working with mui4 and other widget libraries in the past - and seeing the 5 solutions listed that basically do the same thing - holly shit how did it get to this point...

I got the value of JSX even if it felt messy - but the css-in-js becoming popular on frontend is one of the why I switched to full backend roles now.

And when he says that changing the implementation of a styling solution improves component performance 5x ... at what point is it OK for a fancy styling abstraction layer that serves no real purpose (it was just as shit to customise as any other solution, doubt it made people significantly more productive, and they said it was a maintenance burden to maintain abstraction layers) suck up that much performance ? Even the "fast" path is order of magnitude slower compared to good old CSS...

Re: Material-UI is releasing v5 and rebrands to mui.com

#9
Having used Material UI in the turbulent days of v1, I can't say I've had a good experience.

- Custom styling with JSS was an underdocumented nightmare

- The Grid system had many gotchas, especially with flexible columns in flexbox

- "Private" components had to be used or replaced in Table components to enable sorting

- JSS generated classnames changed if you included material-ui-based components in a separate library

I'm not really trying to harp on the developers here, but I've had to re-implement basically all the material-ui components I've had to use, because it was infeasible to update the library due to the amount of changes required.

Re: Material-UI is releasing v5 and rebrands to mui.com

#10
post #3

MUI is really awesome to use. I wonder how easy it will be to migrate from v4!

There's a codemod [1] to automate most of the code changes needed, and a comprehensive migration guide [2].

[1] https://mui.com/guides/migration-v4/#preset-safe

[2] https://mui.com/guides/migration-v4/

Feedback so far has been positive...

Post reply on HN