Skip to content

vlazh/react-validon

Repository files navigation

react-validon npm package

React-validon is a small, simple, flexible and extensible validation library for React >= 16.

React-validon is independent of store and can work with local component state, Redux and MobX.

React-validon validators supports memoization (with nano-memoize), so you should not worry about performance when you call validator creator function in component render method like this:

<Input name="name" value={this.state.name} validators={required()}>

License

MIT