AgnosticUI + Vest === 💪🏽
The form below uses agnostic-svelte for the UI primitives, and Vest for the form validation. Each field validates only after you've “touched” the field and the submit button is not enabled until the entire form is considered valid.
So far I've been impressed with Vest's cohesion focusing solely on validity—it reminds me a bit of a shell tool you'd pipe to get some work done quickly. As such, it adheres to the Unix adage “do one-thing and do it well” aka DOTADIW making it a perfect fit for AgnosticUI.
Some of Vest's features are:
- It's fairly lightweight at 23.7 kB minified ⚡
- No need to learn a whole new DSL—you must have used Jest, Jasmine, Mocha, or Cypress at some point right!? Everything looks familiar so you feel smart 🤓
- It's modular and declarative 🔥
- Flexibility. For example, with AgnosticUI I don't need
'vest/classNames'so I simply omit it! No problem 👍