react-hook-form v5.1.0 Release Notes

Release Date: 2020-03-15 // 21 days ago
  • ⚡️ 🥂 feature/reset omit state update (#1139)
    This feature allows you to reset the form value without resetting the formState
    reset({}, { dirty, touched })

    👍🏻 fix useFormContext to not throw an error (#1202)
    🍱 ⌨️ types for async validation resolver (#1195)
    🍱 ⛽️ re-regeister controlled component on validation rule change (#1187)
    🍱 🐞 fix/use field array dirty fields remove (#1189)
    👍🏻 improve FieldErrors type (#1182)
    🍱 🎂 fix FieldErrors to allow any type (#1178)