Thanks very much for your feedback, which I am 100% agree :) I think there are few things which I was try to highlight in the demo:
Performance: skip re-render onChange which trigger render at the root of your app (not sure if you notice the render counter on the top right)
Primitive API: let you compose and work your way through (be the driver)
but this is not the end of it, I am going to upload the example to the website and when I get some more free time, I can work on an abstract version of Field Array, which basically cooks that logic into the small component RHFArrayField. I will get to it, just matter of time :)
again much appreciated your feedback and time to looking into it.
cheer
bill
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.
Hey Justin,
Thanks very much for your feedback, which I am 100% agree :) I think there are few things which I was try to highlight in the demo:
onChange
which trigger render at the root of your app (not sure if you notice the render counter on the top right)but this is not the end of it, I am going to upload the example to the website and when I get some more free time, I can work on an abstract version of Field Array, which basically cooks that logic into the small component
RHFArrayField
. I will get to it, just matter of time :)again much appreciated your feedback and time to looking into it.
cheer
bill