Live data from Hacker News

Base Web, Uber’s New Design System for Building Websites in React

eng.uber.com

11–20 of 156 posts

Re: Base Web, Uber’s New Design System for Building Websites in React

#11

Imagine creating this beast of a "framework" and not even using TypeScript or Flow. What are you thinking? Edit: It does use Flow.

Sigh. I really wish people would just accept the fact that JavaScript is a dynamically typed language and stop making things unnecessarily difficult.

Re: Base Web, Uber’s New Design System for Building Websites in React

#12
post #9

I've been searching for a basic React UI component system for awhile now. There are a lot of systems available, but each one has significant drawbacks to the point I end up just rolling my own. I think an ideal system would have a core set of "unstyled" components with the necessary functionality baked in. That way the overall aesthetic is up to you, but a lot of the painstaking UI work (e.g. showing, hiding, and hig…

There’s some work being done around renderless ui components but I’ve yet to see a complete framework.

Re: Base Web, Uber’s New Design System for Building Websites in React

#13
So this is basically a component framework ala https://element.eleme.io/#/en-US/component with some theming standards?

Edit: The drag and drop component is nice and looks well-built. I had to use vue-draggable [1] for an app recently which was just a hacky Vue layer on top of Sortable.js [2]. It's one thing I wished ElementUI supported natively.

[1] https://github.com/SortableJS/Vue.Draggable

[2] https://github.com/SortableJS/Sortable

Re: Base Web, Uber’s New Design System for Building Websites in React

#14

Imagine creating this beast of a "framework" and not even using TypeScript or Flow. What are you thinking? Edit: It does use Flow.

Sigh. I really wish people would just accept the fact that JavaScript is a dynamically typed language and stop making things unnecessarily difficult.

[flagged]

Re: Base Web, Uber’s New Design System for Building Websites in React

#15

Nope. This is replacing composition with configs for no good reason. It's like the people who made Grunt and Webpack teamed up to ruin React for everyone.

I really hate dismissive comments like this.

They laid out pretty well what problems this is trying to solve, why they want it that way, the benefits it has, and some of the tradeoffs it makes.

Saying it "replaces composition with configs for no good reason" is not only wrong (they still heavily use composition here, it even makes it more powerful in some ways from what I can tell so far), but also doesn't really mean anything on it's own (at least to me it doesn't).

Re: Base Web, Uber’s New Design System for Building Websites in React

#16

Imagine creating this beast of a "framework" and not even using TypeScript or Flow. What are you thinking? Edit: It does use Flow.

Sigh. I really wish people would just accept the fact that JavaScript is a dynamically typed language and stop making things unnecessarily difficult.

That's why I love Flow and Typescript so much. They are as opt-in as you want them to be.

I've seen a team use typescript, but have zero types in most of their files, they just used it from libraries to get some IDE autocomplete and some very small typing on core areas.

Re: Base Web, Uber’s New Design System for Building Websites in React

#17
post #9

I've been searching for a basic React UI component system for awhile now. There are a lot of systems available, but each one has significant drawbacks to the point I end up just rolling my own. I think an ideal system would have a core set of "unstyled" components with the necessary functionality baked in. That way the overall aesthetic is up to you, but a lot of the painstaking UI work (e.g. showing, hiding, and hig…

You can use ant design without any css and roll up your own styles.

Re: Base Web, Uber’s New Design System for Building Websites in React

#19

Earlier quoted context omitted.

Sigh. I really wish people would just accept the fact that JavaScript is a dynamically typed language and stop making things unnecessarily difficult.

[flagged]

You're ignoring the fact that many already went through that phase and ultimately decided that complexity is the only enemy worth fighting in software.

It always pays off to take a closer look at the things you can't think or say, to ask why.

Re: Base Web, Uber’s New Design System for Building Websites in React

#20
post #9

I've been searching for a basic React UI component system for awhile now. There are a lot of systems available, but each one has significant drawbacks to the point I end up just rolling my own. I think an ideal system would have a core set of "unstyled" components with the necessary functionality baked in. That way the overall aesthetic is up to you, but a lot of the painstaking UI work (e.g. showing, hiding, and hig…

I've been using reactstrap and since it relies on a external bootstrap CSS for styling (i.e, manually included `<link type="text/css" ...`) you have plenty of freedom on how to style it.
Post reply on HN