Coder Social home page Coder Social logo

niklaspor / ngrx-clean-forms Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 4.37 MB

NgRx integration for forms in Angular.

Home Page: https://ngrx-clean-forms.surge.sh

License: MIT License

JavaScript 6.53% TypeScript 90.93% HTML 2.16% CSS 0.26% SCSS 0.13%
angular forms ngrx

ngrx-clean-forms's People

Contributors

niklaspor avatar philippseitz avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

philippseitz

ngrx-clean-forms's Issues

Document the usage of FormArrays

The current Readme file is missing information about the usage of the FormArray.
It should be added in the chapter Additional Resources.

Document the complete public api

For an easy usage of the package a complete documentation of the public-api is necessary.

This should only target the apis which will exist after #2 is resolved.

Rename map methods for clarity

The methods:

  • mapFormControlStates
  • mapFormControlSummaries
  • mapFormControlUpdates

Should be renamed to:

  • mapFormGroupControlStates
  • mapFormGroupControlSummaries
  • mapFormGroupControlUpdates

As they are only FormGroup specific this will increase the clarity.

Add reset methods

Add a method for resetting a form. Should keep the validators and except for that reset to the initialValue.

An option for resetting to a specific value would also be helpful.

  • resetFormControl
  • resetFormGroup
  • resetFormArray

Reduce api exposed by public-api

Reduce the width of the public-api. This will lead to an easier usable package.

The reducers & init directories are already in a valid shape.

  • Cleanup selectors
  • Cleanup types
  • Cleanup utils

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.