|
|
|
|
|
by everdimension
604 days ago
|
|
Sorry to disappoint, I did hesitate over this. But JSX is honestly very nice to read and also I didn't want to leave the impression that opting in to native form validation somehow forces you to not use javascript. And combination of javascript + html is, again, very nicely expressed with JSX. The concepts are obviously easily translated to other component frameworks, but they also do apply to pure HTML and vanilla javascript. The problem I am highlighting in the article is the absence of a declarative nature to the Custom Validity API, so I think it makes sense to use a declarative component approach in code examples |
|