Proper integration of forms in Angular applications using ngrx
Clone or download
Latest commit 18d71fb Oct 21, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode build: update to TypeScript 2.7.2 Feb 24, 2018
docs Add new possible value for ngrxUpdateOn Oct 18, 2018
example-app feat(example app): handle option updates in material select view adapter Sep 2, 2018
scripts build: update all dev dependencies and adjust build process due to br… Apr 15, 2018
src Add new possible value for ngrxUpdateOn Oct 18, 2018
validation fix: remove module augmentations for `requiredTrue` and `requiredFals… Jul 23, 2018
.gitignore Remove IDEs config files from .gitignore. Move Karma ChromeHeadless o… May 20, 2018
.travis.yml build: add code coverage reporting May 1, 2018
CHANGELOG.md docs: update changelog Oct 21, 2018
LICENSE docs: various updates to README and other documentation May 1, 2018
README.md feat: make library compatible with latest Angular version Jul 1, 2018
base.spec.ts build: switch to karma-typescript instead of webpack to run unit tests May 1, 2018
build.js feat: rename inferredStateReducer to formStateReducer and add it to t… Apr 29, 2018
index.ts chore: initial commit Aug 19, 2017
karma.conf.js Remove IDEs config files from .gitignore. Move Karma ChromeHeadless o… May 20, 2018
mkdocs.yml docs: add user guide section about value boxing May 13, 2018
ngrx-forms-3.0.0.tgz build(example app): do not skip lib check in example app to discover … Jul 23, 2018
ngrx-forms-3.0.2.tgz [feat] package 3.0.2 Aug 30, 2018
package-lock.json 3.1.0 Oct 21, 2018
package.json 3.1.0 Oct 21, 2018
public_api.ts docu: adjust license comments Apr 24, 2018
rollup.config.js feat: make library compatible with latest Angular version Jul 1, 2018
tsconfig-build.json build: update to TypeScript 2.7.2 Feb 24, 2018
tsconfig.json refactor: update tslint rules and tsconfig and fix all resulting errors Apr 15, 2018
tslint.json feat: make library compatible with latest Angular version Jul 1, 2018

README.md

ngrx-forms

npm version Build Status codecov Docs license

ngrx-forms brings the strengths of the redux state management model to the world of forms in applications that are using Angular and ngrx. The mechanisms that Angular provides for working with forms are inherently mutable, local, and hard to debug. This library offers a different model for working with forms. Instead of storing the state of form controls inside the components we put them in the ngrx store. We update the state with actions which allows easy debugging just like any other redux application. ngrx-forms also provides powerful mechanisms to update, validate and generally manage large complex forms. It contains APIs for synchronous and asynchronous validation, creating dynamic forms, integrating with custom form elements, and much more.

To get to know more you can either read the official documentation or visit the example application.

Installation

npm install ngrx-forms --save

This library has a peer dependency on @angular/core, @angular/common, @angular/forms, and @ngrx/store, so make sure appropriate versions of those packages are installed.

Contributing

Please see the documentation.

License

Everything in this repository is licensed under the MIT License unless otherwise specified.

Copyright (c) 2017-2018 Jonathan Ziller