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

> To use Shoelace form elements at all, you'll end up writing a bunch of JavaScript.

Shoelace author here. This is somewhat true (I wouldn’t call it “a bunch” though), and it will be until form-associated custom elements are standard. However, I’d argue that most form validation and submission is done with JavaScript these days. I can’t think of the last time I saw a post request submitted from a form in the wild. (Not that it doesn’t happen, but it seems to be quite rare now.)



Thanks for the reply! Shoelace does look great, and I recognize doing the form submission this way is a requirement currently. Hopefully the links above about allowing custom WebComponents to act as native form elements will further enable Shoelace.




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

Search: