v4react

1.1.1 • Public • Published

v4react

Reactjs validation for both - class and hook components. In case of class components it can be used with two approaches:

  • Template driven approach - uses custom components. Adding and managing new validation components are easily handled.
  • Model driven approach - Validation model structure is being defined and used with plain html components.

Hook components approach defines validation methods which are easily used with react hooks.

Installation

npm i v4react --save

Examples of usage

Medel driven validation

Template driven validation

Hook validation

Common functionality

Package Sidebar

Install

npm i v4react

Weekly Downloads

0

Version

1.1.1

License

MIT

Unpacked Size

51.3 kB

Total Files

20

Last publish

Collaborators

  • devgatellc