Project from Life.Church Open Network

Validstate is a JavaScript package designed for React + Redux applications.

Validstate simplifies the logic of a React application by removing the need for conditional code and putting all state conditions in one place. 

Validstate is built on three core principles: 

  • Single Definition: Validstate puts all validations in one place to keep the logic of the actions clean.
  • Prepackaged Validation Functions: Validstate comes out-of-the-box with several validation functions built-in.
  • Extendable: Validstate makes it easy to use your own custom validators. 

While Validstate can and should be used for form validation, it takes validation to the next level by allowing true state condition checking.  Developers can ensure all state elements are present before performing an action, preventing unwanted application states. 

Other Important Links: