Skip to content
This repository was archived by the owner on Jan 10, 2018. It is now read-only.

anything like react redux forms or best practices? #326

Closed
philjones88 opened this issue Jan 25, 2017 · 1 comment
Closed

anything like react redux forms or best practices? #326

philjones88 opened this issue Jan 25, 2017 · 1 comment

Comments

@philjones88
Copy link

I'm looking for guidance mostly on how to use store with angular (2) forms, I'm starting to think my current approach of:

  • local component properties
  • rehydrate with a .first() on a ngOnInit store select
  • [(ngModel)] to said properties
  • (onModelChange) with dispatching updates

is not the best.

Googling around it looks like the React Redux community has some form libraries.

I quite like the look of http://redux-form.com/6.4.3/examples/simple/ and looking at the dev tools it's dispatching actions and storing the state of the form in the store.

Has anyone done any form CRUD work and can point to some best practices?

@fxck
Copy link

fxck commented Jan 25, 2017

ngrx/core#12

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants