Skip to content

Releases: green-labs/ppx_react_hook_form

v0.0.4

21 Oct 07:27
Compare
Choose a tag to compare
  • Change type signature of append in useFieldArray hook
    • Updated from t => unit to defaultValuesOfT => unit
    • This change provides better type flexibility when appending new items to the array

v0.0.3

21 Oct 07:27
Compare
Choose a tag to compare
  • Enhance defaultValuesOf type definition for array types
    • For array types (e.g., array<t>), the defaultValuesOf type now uses
      defaultValuesOfT for the array items instead of array<t>
    • This allows for more precise default value handling in nested array structures

v0.0.2

19 Apr 12:23
d49473f
Compare
Choose a tag to compare
  • Add setValueConfig
  • Add more variants for watch return type and watch returns option type