News for hackers. Stuff that matters.
Re:Show HN: Smooth UI, a React UI Library for Humans by neoziro on Monday May 28, 2018 @02:30PM (#17173958)
Smooth UI is not better than other libraries like Material UI or Ant UI but the focus is different. Smooth UI put the focus on developer experience, extending a style is very simple. Also it exposes some classes, you don't have to learn any API to extend components, you can simply inspect components and use the classes!

An example of extend: https://codesandbox.io/s/7k8o4x7lj6

Re:Show HN: Smooth UI, a React UI Library for Humans by kowdermeister on Monday May 28, 2018 @04:22PM (#17174608)
Writing !important to something I extend is not what I'd expect, it feels like a hack.
Re:Show HN: Smooth UI, a React UI Library for Humans by pluma on Monday May 28, 2018 @05:34PM (#17174991)
Looks like the example uses that because it would otherwise be overridden by the variant=primary (which seems to be the default) so explicitly overriding that variant would probably be more intuitive and not require the !important hack.
Re:Show HN: Smooth UI, a React UI Library for Humans by kowdermeister on Monday May 28, 2018 @05:43PM (#17175036)
I did not dig into that, but I would expect some intuitive solution if they mention developer experience.