@reactiveforms/core
v2.7.0
Published
Reactive Forms for React - Core
Downloads
16
Maintainers
Readme
Reactive Forms - Core
Reactive 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.
Recommendations
@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.
Installation
npm install @reactiveforms/core
Dependencies
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.
Usage
The examples use the material implementation to make things easier, but as mentioned above, you can use your own implementation of the input elements.
Documentation
The documentation covers the following areas: