Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReactiveFormsModule like angular4 in react #11229

Closed
webmobiles opened this issue Oct 15, 2017 · 7 comments
Closed

ReactiveFormsModule like angular4 in react #11229

webmobiles opened this issue Oct 15, 2017 · 7 comments

Comments

@webmobiles
Copy link

webmobiles commented Oct 15, 2017

I'm struggling with forms in react, redux-form library is the only library that can arrive to do what reactive forms in angular4 can do, but have a lot of bugs , and have no all what angular4 reactive form has:

https://angular.io/guide/reactive-forms
import { ReactiveFormsModule } from '@angular/forms'

I can control field state in nice way,

angular4-control-state-transitions-anim

group fields validations, asyn validations, and validator librarary included.

is there any library can I can do in react ecosystem? or it's better do build a own library, how i did with templates, css ( another libraries have a lot of bugs too or they are in beta mode new versions, example: material-ui, or not compatible with react 16 , and it's frustating devine the future when they solve the important bugs)

@chenshuai2144
Copy link

You can look at this
ant_form

@webmobiles
Copy link
Author

webmobiles commented Oct 16, 2017

@chenshuai2144 thanks, looks nice the design form, that replaces redux-form? or it's just a design? how to use there validator?, the copyright or license is not clear
http://ant.design/docs/spec/copywriting

@gaearon
Copy link
Collaborator

gaearon commented Oct 16, 2017

This is a bug tracker for React. Please use community resources for library discussion.
https://reactjs.org/community/support.html

@gaearon gaearon closed this as completed Oct 16, 2017
@chenshuai2144
Copy link

@webmobiles You can refer to him.He is too big to introduce or increase the size of js.
antd is a library containing redux-form.
this is license

@webmobiles
Copy link
Author

@chenshuai2144 I've just removed antd library, and my build js decrease from 2.9 Megas to 1.7 definitely I advise do'nt use antd library , it's too much big

@gaearon
Copy link
Collaborator

gaearon commented Dec 22, 2017

A lot of folks reported being happy with https://github.com/jaredpalmer/formik so you might want to check that out.

@webmobiles
Copy link
Author

@gaearon thanks; i've complete already my project with redux-form; i like his fieldarray , but i'm going to try formik , your advise is very important, thanks

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

No branches or pull requests

3 participants