Earlier quoted context omitted.
Any other good candidates? This is something I really need to look into soon.
I've found Materia-UI to have the best code quality, most up-to-date. If you don't like Material UI theming it's also easily overridable. Downside of ant-design is that the library is huge (there was a bug recently where the whole icon library was included in the bundle!), some of the components have bugs, style/look is not easily modifiable.
Base Web, Uber’s New Design System for Building Websites in React
141–150 of 156 posts
Re: Base Web, Uber’s New Design System for Building Websites in React
#142I guess we can add Uber to this list of corporate frameworks... https://news.ycombinator.com/item?id=18235887 https://element.eleme.io/ https://ant.design/ https://quasar-framework.org/ https://at-ui.github.io/at-ui/ https://developer.microsoft.com/en-us/fabric https://vmware.github.io/clarity/ http://appnexus.github.io/lucid/ https://ng-lightning.github.io/ng-lightning/ https://blueprintjs.com/ http://www.jetbrains.…
Re: Base Web, Uber’s New Design System for Building Websites in React
#143Earlier quoted context omitted.
https://gist.github.com/tajo/a84d96f248d454d1226e12bb07c8157...
That is not better. Just look at what you've created vs the idiomatic way of accomplishing the same thing with vanilla React. It's a new DSL on top of React that just adds unnecessary noise. It over complicates what should be a simple task. Why do I have to specify "List" twice? And what sort of magic is "component" performing? What are children now? Do they not exist anymore? And what does "overrides" mean in this c…
Re: Base Web, Uber’s New Design System for Building Websites in React
#144Earlier quoted context omitted.
Basically a complex version of this example, done over and over, for larger methods. togglePanel = (newTogglePanelComponentState: Boolean) => { return this.setState({ panelToggleState: newTogglePanelComponentState }); } togglePanel = bool => this.setState({ panelToggle: bool })
I don't understand what you're trying to demonstrate with your example. Your TS(?) example is needlessly complicated, and syntactically invalid. Here's a better TS implementation: togglePanel = (panelToggle: bool) => this.setState({ panelToggle })
Re: Base Web, Uber’s New Design System for Building Websites in React
#145Referencing and being inspired by someone‘s Design System is a good thing. Try looking at a bunch of them to get a better perspective. However, using someone's Design System may not always be a good choice. Unless, they are lean, non-directional and are mostly patterns that you can adapt to any tech stack or systems. For instance, Google’s Material Design Philosophy is a good starting point and you can leverage it as…
What’s meant by non directional ?
Re: Base Web, Uber’s New Design System for Building Websites in React
#146The overrides pattern they describe sounds like a nightmare to maintain. It's almost the exact opposite of how I'd design the API for a set of reusable components: provide a minimal API surface to cover existing use cases, and evolve the API deliberately to cover new use cases as they arise. Allowing users to override arbitrary styling parameters is a recipe for disaster in a reusable component, because once you star…
Note that the above mostly applies to company/product specific component libraries where maintaining design/brand consistency is of great importance. For components meant for public consumption, I personally would only use libraries that yield _all_ rendering decisions to the user: not just styling, but the components being rendered as well as the way in which those components are composed. Usually that means providi…
Re: Base Web, Uber’s New Design System for Building Websites in React
#147Earlier quoted context omitted.
Any other good candidates? This is something I really need to look into soon.
I've found Materia-UI to have the best code quality, most up-to-date. If you don't like Material UI theming it's also easily overridable. Downside of ant-design is that the library is huge (there was a bug recently where the whole icon library was included in the bundle!), some of the components have bugs, style/look is not easily modifiable.
Re: Base Web, Uber’s New Design System for Building Websites in React
#148Earlier quoted context omitted.
Any other good candidates? This is something I really need to look into soon.
I work with blueprint and I find it to be pretty incredible. Typescript based, fairly comprehensive, good docs, easy to use.
Re: Base Web, Uber’s New Design System for Building Websites in React
#149Re: Base Web, Uber’s New Design System for Building Websites in React
#150I guess we can add Uber to this list of corporate frameworks... https://news.ycombinator.com/item?id=18235887 https://element.eleme.io/ https://ant.design/ https://quasar-framework.org/ https://at-ui.github.io/at-ui/ https://developer.microsoft.com/en-us/fabric https://vmware.github.io/clarity/ http://appnexus.github.io/lucid/ https://ng-lightning.github.io/ng-lightning/ https://blueprintjs.com/ http://www.jetbrains.…
You seem to trying to express a negative response to the fact that these companies create design frameworks. I'm interested as to why you feel this way?