Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including ngrx-forms with all npm packages installed. Try it out:

require("@angular/core/package.json"); // @angular/core is a peer dependency. require("@angular/common/package.json"); // @angular/common is a peer dependency. require("@angular/forms/package.json"); // @angular/forms is a peer dependency. require("@ngrx/store/package.json"); // @ngrx/store is a peer dependency. require("typescript/package.json"); // typescript is a peer dependency. var ngrxForms = require("ngrx-forms")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

ngrx-forms v4.0.1

Proper integration of forms in Angular 4 applications using ngrx

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

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free