4 ms·
UI components can be small, and customizable enough to do anything. The HTML is an excellent exemple at that. You are never "limited" by highly abstracted lib
by Kuinox 4y ago
UI components can be small, and customizable enough to do anything.
The HTML is an excellent exemple at that.
You are never "limited" by highly abstracted librairies since at any moment, you can write your fully customized one.
And no, a customized components is not immediately better.
Good Library UI components have, i18n, accessibility, and good mobile UX.
The comment "I can do a decent calendar in react in a few minutes" shows exactly this: it's infuriating to use on mobile.
- kaba0 4y agoThe web is exactly a bad argument, it composes terribly. You can make n*m divs for the days for a calendar widget, it won’t be recognized as a date selector. While swing, or even earlier GUI iterations realized that inheritance is a very sane model for GUI frameworks.
- Kuinox 4y agoYou know you can inherit the HTML date picker right? ... right ?
- ulimn 4y agoI actually don't know what you mean. Can you please tell me?
- Kuinox 4y agoWebcomponents allow inheriting html built in elements. https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements https://developer.mozilla.org/en-US/docs/Web/Web_Components/... > Customized built-in elements inherit from basic HTML elements.
- ulimn 4y agoThanks. I always wanted to look into web components, sounds interesting.