Great article!
I also prefer react-hook-form over every other form library.
I am currently working on dynamic form generation from passed object that has validation included so everything is fully customizable, this is similar approach.
Yep. I tried react-hook-form after I worked with Formik and I found it to be more simple to use in general. They got me with simplicity of use and minimal re-rendering.
hay wondering have you done any think like where you can select or create your template as well ? what i can see in dynamic forms is just controls and there is no html they are using to at least show for user experience , rather an input may be form up to down or left to rite ..
I am currently having some private stuff going on and I really didn't work on that project for quite some time now but I was thinking of providing default template and config file where you can specify which components is which input so you can have custom one if you want, something like:
import customTextInput from './CustomTextInput';
...
inputText: customTextInput,
...
I would, of course, provide documentation on required props for such custom components so they can work seamlessly.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Great article!
I also prefer react-hook-form over every other form library.
I am currently working on dynamic form generation from passed object that has validation included so everything is fully customizable, this is similar approach.
have you tried Formik?
Yep. I tried react-hook-form after I worked with Formik and I found it to be more simple to use in general. They got me with simplicity of use and minimal re-rendering.
That's interesting. I am a newbie to React, and since then, I am using Formik. I might try react-hook for my next project.
hay wondering have you done any think like where you can select or create your template as well ? what i can see in dynamic forms is just controls and there is no html they are using to at least show for user experience , rather an input may be form up to down or left to rite ..
Hi,
I am currently having some private stuff going on and I really didn't work on that project for quite some time now but I was thinking of providing default template and config file where you can specify which components is which input so you can have custom one if you want, something like:
import customTextInput from './CustomTextInput';
...
inputText: customTextInput,
...
I would, of course, provide documentation on required props for such custom components so they can work seamlessly.