field-form
field-form copied to clipboard
Field > change key with resetCount
Hi,
Why are you changing the Fragment key each time there is a reset?
In render of Field we have this: https://github.com/react-component/field-form/blob/e9184848e73a5e39fd2976826a7020328dba01ed/src/Field.tsx#L644
This is causing unwanted unmount/remount of the Field each time we reset the form.
I don't see the point of doing that, but maybe I'm missing something. Can you help me understand?