DEV Community

Discussion on: React Hook Form vs. Formik: A technical and performance comparison

 
bluebill1049 profile image
Bill

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:

  1. 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)
  2. 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