Wrap-Up
Last updated
Was this helpful?
Last updated
Was this helpful?
The design and implementation of Strickland ends up being fractal, with extensibility and composability available at every turn. Because validator functions are so simple, Strickland is a great framework on which you can build the validator libraries you need for your applications. And since Strickland is pure JavaScript and not coupled to any other libraries or concepts, it can be used in any JavaScript application.
Using Strickland's built-in validators, and its extensibility and composability, you can build your application's validation library and provide rich validation experiences for your users.
are implementations of your validation rules
is the act of executing a validator against a value
are the output of validation for the given validator and value
are functions that take parameters and return validator functions
is provided to validators allowing application state to influence validation logic
allow applications to produce rich user experiences
can be used to validate a value against multiple validators
**** is easily done using the arrayElements validator
is accomplished by building objects that define how the props should be validated
enable terse and natural definitions of complex compositions
If you're interested in Strickland and have any feedback, please reach out in one of the following ways:
to provide async validation capabilities
within arrays of validators, array elements, and object validation
is conducted using the validateAsync
function
supports interactive field-level or form-level validation
Submit issues on
Tweet to