Skip to content

dandean/react-hoc-validation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Higher Order Component Form Validation

This modules makes use of higher order components to decorate straight forward form markup with validation rules.

Documentation

Read up!

Goals

  • Declarative implementation
  • Straight forward integration
  • No custom form element components in the library
  • Compatible with your own custom form element components
  • No class inheritance
  • Async-compatible validation functions enabling remote tests

Examples

To run the examples in your development environment:

  1. Clone this repo
  2. Run npm install
  3. Start the development server with npm start
  4. Point your browser to http://localhost:8080

Work in Progress

It should go without saying on a project this new that it is a work in progress. There's lots to do!