Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@comparaonline/ui-forms-validators

eseceve11MIT1.7.0TypeScript support: included

Functional approach for our Compara's standard form library ui-forms

readme

@compara/ui-forms-validators

Functional approach for our Compara's standard form library ui-forms

Motivation

Move our current class based validations into a more functional approach. Instead of initializing a main class that validate and manage the validators register, the idea is to take advantage of Typescript's static typing and tree shaking to correctly reutilize every validator through a form.