Reactive Forms for React - Core
npm install @reactiveforms/coreReactive Forms for React.
This library, insprired by Angular Reactive Forms, replicates the basic implemenation of Anuglar Reactive Forms, but at the same time streamlines building model driven forms.
It is expected that @reactiveforms/core package is used along with a "UI implemenation" (pre-built or custom) to build forms easily using models.
@reactiveforms includes an implementation of the following UI frameworks:
- @reactiveforms/mui using the popular Reactive Material UI library
- @reactiveforms/prime using the popular Prime React library
However, you can use your own custom implementations too.
```
npm install @reactiveforms/core
This package requires your application to install react and react-dom`; they are defined as "peer dependencies". React 16.8+ is supported; this package uses "react hooks" under the hood.
The package source is written in TypeScript, and all type definitions are included when installing the package. However, it is not required that you need to use TypeScript, you can use ES5/ES6 along with this package if you wish.
The examples use the material implementation to make things easier, but as mentioned above, you can use your own implementation of the input elements.
* Simple Form
* Split Form
* Static Elements
* Validation
The documentation covers the following areas:
* Inputs
* Form Controls
* Validation
* Form Builder