Comment by dmitriid

3 years ago

I commented on twitter, but I'll comment here as well:

> By providing low-level primitives instead, applications could ship with their own implementations of high-level concepts like layout, widgets, and gestures, enabling a much richer set of interactions and custom experiences with much less effort on the part of the developer.

This means that even 20 years from now all the "UI frameworks" will keep busy reinventing the same dozen-or-so primitive controls: avatars, buttons, tabs.

The value of other systems isn't just in providing the most primitive of primitives. The value is also in providing the right set of high-level APIs.

Building a fully-accessible properly behaving combobox from scratch using only WebGPU primitives? Good luck with that. Meanwhile elsewhere I can just reach for one, and have it available, with all the expected platform behaviour. Same goes for hundreds, if not thousands, little things that you need to account for.

If the quest for the future of the web doesn't include something like https://open-ui.org on the roadmap, it has failed before even starting. Because the future in the document is already here. And there are vanishingly few companies that have the wherewithal and technical acumen to pull off building a UI from scratch.