Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I agree. The primitives should be general and extensible via JS/WASM and presentation should be customizable. Browsers can’t cover every specific use case.

Prebuilt, specific components should focus on providing utility for documents and forms.

The “details” tag is a good example. It has interactive utility, clear semantics, but is easily extensible and you can fully style it.

The text input tag, not so much. It’s for example difficult to extend into a typeahead/combobox with sensible UX and presentation without writing a whole buch of JS. And the story around accessibility isn’t clear either.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: